DPE WorkflowSystem 3.x

WorkflowCreateAndWait

Creates a new workflow instance and waits until it finishes or fails (or takes longer than the specified timeout).

WorkflowCreateAndWait.png

Properties

WorkflowCreateAndWait_Properties.png

Input

Name

Description

WorkflowTitle

Title of the new workflow instance.

WorkflowType

Name of a workflow template.

ObjectId

Not used yet.

Arguments

Workflow arguments.

Timeout

Timeout in milliseconds. Default: 600000 (= 10 minutes).

If Timeout = 0 the activity behaves like the WorkflowCreate activity and just creates a new instance of a workflow without waiting.

ThrowException

Throw exception if workflow does not succeed or timeout. Default: true

OverrideAccount

Allows to optionally override user and password used to execute the new workflow.

Output

Name

Description

NewWorkflowld

Returns new workflow instance id.

Returns -1 when no workflow was created due to to naming conventions, also see Understanding Workflow Names/Titles

WorkflowDetails

Returns an object of type WorkflowData with all details of executed workflow, e.g. State or RawResults (as XML)