Skip to main content
Skip table of contents

WorkflowCreateAndWait

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

Properties

Input

Name

Description

WorkflowTitleTitle of the new workflow instance.
WorkflowTypeName of a workflow template.
ObjectIdNot used yet.
ArgumentsWorkflow 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.

ThrowExceptionThrow exception if workflow does not succeed or timeout. Default: true
OverrideAccountAllows 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)

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.