The executeWorkflow operation runs a specified workflow.

The executeWorkflow takes an array of WorkflowTokenAttribute objects as input parameters, which provide the specific attributes with which this particular workflow instance runs.

The executeWorkflow operation is declared as follows.

public WorkflowToken executeWorkflow(String workflowId, String username, String password, WorkflowTokenAttribute[] attributes);

Type

Value

Description

String

workflowId

The identifier of the workflow to run

String

username

Orchestrator user name

String

password

Orchestrator password

Array of WorkflowTokenAttribute instances

workflowInputs

Array of input parameters required to run the workflow

Return Value

Returns a WorkflowToken object. Returns an exception if you pass it an invalid parameter.