Fuego.Lib : Note

The Note component is used to create and add notes to a process instance, and retrieve note text and properties.

Every process instance includes the notes predefined variable, which is as an array of Notes.

Example 1

In this example, the Note component is used to create a new note in the current process instance:

create Note
    using text = "This is a new Note generated programmatically"

Example 2

In this example, the predefined variable notes is used to retrieve the text and properties of all notes on the current process instance:

for each n in ProcessInstance.notes
do
    logMessage "Note text: " + n.text +
        "\nCreation activity: " + n.creationActivity +
        "\nCreation Time: " + n.creationTime +
        "\nCreator: " + n.creatorName
end
Related reference
Fuego.Lib : ProcessInstance