new module:model/WorkflowInstance(creatorId, dacId, instanceState, templateId, users)
- Source:
Constructs a new WorkflowInstance.
Details of a Workflow Instance triggered for a Workflow Definition
Parameters:
| Name | Type | Description |
|---|---|---|
creatorId |
String | |
dacId |
String | |
instanceState |
module:model/WorkflowInstanceState | |
templateId |
String | |
users |
Object:.<String:, String:> | Contains the list of Users and Steps mapping |
Members
(inner) accountId :String
- Source:
Type:
- String
(inner) creatorId :String
- Source:
Type:
- String
(inner) dacId :String
- Source:
Type:
- String
(inner) endDate :String
- Source:
Track the End time of the Workflow Instance
Type:
- String
(inner) instanceName :String
- Source:
The friendly name of the particular workflow instance
Type:
- String
(inner) instanceState :module:model/WorkflowInstanceState
- Source:
Type:
- module:model/WorkflowInstanceState
(inner) progress :module:model/ProgressInstance
- Source:
Type:
(inner) startDate :String
- Source:
Track the Start time of the Workflow Instance
Type:
- String
(inner) startedBy :module:model/StartedByInstance
- Source:
Type:
(inner) templateId :String
- Source:
Type:
- String
(inner) users :Object:.<String:, String:>
- Source:
Contains the list of Users and Steps mapping
Type:
Methods
(static) constructFromObject(data, obj) → {module:model/WorkflowInstance}
- Source:
Constructs a WorkflowInstance from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data to obj if supplied or a new instance if not.
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Object | The plain JavaScript object bearing properties of interest. |
obj |
module:model/WorkflowInstance | Optional instance to populate. |
Returns:
The populated WorkflowInstance instance.