Workflow Task
Properties
| Name | Type | Description |
|---|---|---|
| assigneeEmail | string | The Email of the principal to whom this workflow task has been assigned. |
| assigneeId | string | The ID of the principal to whom this workflow task has been assigned. |
| assigneeName | string | The Name of the principal to whom this workflow task has been assigned. |
| context | object | The workflow task context. |
| description | string | The Description of this document. |
| documents | object | Any documents that are bound to the workflow task. |
| id | string | The ID of this document. |
| projectId | string | The ID of the project that this workflow task was launched within (if applicable). If the workflow task as not launched inside of a project, this will be null. |
| projectTitle | string | The title of the project that this workflow task was launched within (if applicable). If the workflow task as not launched inside of a project, this will be null. |
| properties | object | The properties for this document. |
| timeCompleted | calendar | The time when this workflow task completed. If the workflow task hasn't completed, this will be null. |
| timeStarted | calendar | The time when this workflow task started. |
| title | string | The Title of this document. |
| workflowData | object | Any data that is bound to the workflow task. |
| workflowDescription | string | The Description of the workflow instance with which this task is connected. |
| workflowId | string | The ID of the workflow instance with which this task is connected. |
| workflowTitle | string | The Title of the workflow instance with which this task is connected. |
Methods
stringify
Usage
string stringify()
Arguments
None
Return
| Type | Description |
|---|---|
| string |
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);