Workflow
Name: workflow
| Property | Type | Description |
|---|---|---|
| id | string | The ID of the workflow instance |
| modelId | string | The ID of the workflow model for this instance |
| modelVersion | number | The version of the workflow model for this instance |
| state | string | The state of the workflow - one of the following: NOT_STARTED, RUNNING, SUSPENDED, TERMINATED |
| timeStarted | calendar | The time the workflow was started |
| timeCompleted | calendar | The time the workflow was completed (if completed) |
| context | object | Contextual variables being passed along with the workflow |
| workflowData | object | Data being passed along with the workflow |
| swimlaneIds | array | The IDs of any swimlanes defined within the workflow |
| runtime.applicationId | string | Optional ID of the Application this workflow is running against |
| runtime.emailProviderId | string | Optional ID of the Email provider this workflow is using for email dispatches |
| runtime.repositoryId | string | Optional ID of the Repository this workflow uses for content and templates |
| runtime.branchId | string | Optional ID of the Repository branch this workflow uses for content and templates |
| projectId | string | Optional ID of a project that this workflow is attached to |
| projectTitle | string | Optional Title of a project that this workflow is attached to |
| resourceUrl | string | The API URL of the workflow instance |
| adminUrl | string | The Administrative Console URL for this workflow instance |
| url | string | The Cloud CMS URL for this workflow instance |
| tenantUrl | string | The URL to the Cloud CMS user interface |
| contentUrl | string | The URL to the base content path for the content in this workflow instance |
Example:
The workflow <a href="{{ workflow.url }}">{{ workflow.title }}</a> was started on {{ workflow.timeStarted}}
and completed on {{ workflow.timeCompleted }}.