跳转至

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#

  1. Validates the input object and ensures the Note field is provided.
  2. Loads the specified Process Activity.
  3. Compares the existing note with the input note.
  4. Updates and saves the Process Activity only if the note has changed.
  5. Returns the updated Process Activity in the output object.