module:model/WorkflowDefinitionWithId

module:model/WorkflowDefinitionWithId

new module:model/WorkflowDefinitionWithId(id)

Source:

Constructs a new WorkflowDefinitionWithId.
A DS workflow definition with metadata.

Parameters:
Name Type Description
id String

Members

(inner) accountId :String

Source:
Type:
  • String

(inner) createdDate :Date

Source:

The date the workflow was created

Type:
  • Date

(inner) id :String

Source:
Type:
  • String

(inner) isDraft :Boolean

Source:
Type:
  • Boolean

(inner) lastDeployedId :String

Source:
Type:
  • String

(inner) lastDeployedVersion :String

Source:
Type:
  • String

(inner) lastDeployedWorkflowDefinition :module:model/WorkflowDefinition

Source:
Type:

(inner) lastUpdatedDate :Date

Source:

The date the workflow was last updated

Type:
  • Date

(inner) status :module:model/WorkflowMetadataStatus

Source:
Type:
  • module:model/WorkflowMetadataStatus

(inner) triggerUrl :String

Source:
Type:
  • String

(inner) validationErrors :Array:.<module:model/ValidationErrors:>

Source:
Type:

(inner) workflowDefinition :module:model/WorkflowDefinition

Source:
Type:

Methods

(static) constructFromObject(data, obj) → {module:model/WorkflowDefinitionWithId}

Source:

Constructs a WorkflowDefinitionWithId 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/WorkflowDefinitionWithId

Optional instance to populate.

Returns:

The populated WorkflowDefinitionWithId instance.

Type
module:model/WorkflowDefinitionWithId