Workflow
A workflow instance.
Properties
Name | Type | Description |
---|---|---|
|
|
The workflow instance context. |
|
|
The Description of this document. |
|
|
Any documents that are bound to the workflow instance. |
|
|
The ID of this document. |
|
|
The ID of the workflow model backing this workflow instance. |
|
|
The version of the workflow model backing this workflow instance. |
|
|
The ID of the project that this workflow instance was launched within (if applicable). If the workflow instance as not launched inside of a project, this will be null. |
|
|
The title of the project that this workflow instance was launched within (if applicable). If the workflow instance as not launched inside of a project, this will be null. |
|
|
The properties for this document. |
|
|
The ID of an Application that may be associated with the workflow instance (if applicable). |
|
|
The ID of a Branch that may be associated with the workflow instance (if applicable). |
|
|
The ID of an Email Provider that may be associated with the workflow instance (if applicable). |
|
|
The ID of a Repository that may be associated with the workflow instance (if applicable). |
|
|
The state of this workflow. Either |
|
|
An array of swimlane IDs that have been defined for this workflow instance. |
|
|
The time when this workflow instance completed. If the workflow instance hasn't completed, this will be null. |
|
|
The time when this workflow instance started. |
|
|
The Title of this document. |
|
|
Any data that is bound to the workflow instance. |
Methods
getSwimlanePrincipalIds
Usage
array getSwimlanePrincipalIds()
Arguments
None
Return
Type | Description |
---|---|
|
stringify
Usage
string stringify()
Arguments
None
Return
Type | Description |
---|---|
|
Examples
In this code sample, we take the JSON for the given document and produce a string representation of it.
var text = document.stringify(true);