setProperty

Defines a property and its value. Workflows triggered in the same transaction can access the property and read it using the getProperty function or reset it to a different value.

The getProperty and setProperty functions allow you to exchange data between workflows.

Syntax

function setProperty(propertyName: string, value: any): void
 
Parameter Description
propertyName Name of the property.
value Property value.

Examples