To access the note operations, the selected Object Type for the script must be Note. The task object may be available for Note scripts that are invoked by a task note rule. The object contains the following note data and additional helper methods:
- addNote(text), which adds a reply to the note with the given text. Returns a Note object for further customization.
- getParentObject(), which returns the incident or task script object that owns this note.
Type note. to access the types of data and helper methods.