SaveNoteForProcessActivity#
Overview#
Saves a note to a specific Process Activity.
Input Object#
| Name | Type | Description |
|---|---|---|
| Note | string | The note content to be saved in the Process Activity. |
| ProcessActivity | IIndEqProcessActivity | The Process Activity where the note will be saved. |
Output Object#
| Name | Type | Description | | --------------- | -----------.-------- | ---------.------------------------------------------| | ProcessActivity | IIndEqProcessActivity| The Process Activity after the note has been saved. |
How it works#
- Validates the input object and ensures the
Notefield is provided. - Loads the specified Process Activity.
- Compares the existing note with the input note.
- Updates and saves the Process Activity only if the note has changed.
- Returns the updated Process Activity in the output object.