Description
The workflow object represents the workflow and schedule of a given entity that belongs to a type that has Workflow and Scheduling enabled.
Created by
The Workflow object is created automatically for every entity that belongs a type with enabled Workflow and Scheduling. The Workflow object is accessible via the property "workflow" of the entity:
Property Summary
Property | Type | Read-only | Description |
---|---|---|---|
root | WorkflowItem | yes | Accesses the root item of the Workflow |
items | Enumerable | yes | Array of workflow items (activities), each item is a WorkflowItem |
Method Summary
Method | Description |
---|---|
addItem(item-properties,options) | Adds an item. |
removeItem(position) | Removes an item. |
clear() | Clears the workflow (removes all items). |
item(condition) | Finds a specific item. |