InitiateWorkflow Parameters and Valid Execution Modes

The valid execution mode for InitiateWorkflow is SYNCHR.

The parameters of InitiateWorkflow are as follows:

InitiateWorkflow Parameters
Name Semantics Type Valid Values Multi-plicity
Direction: In
ProcessID (Optional) Specifies the ID of the workflow process to restart. string Must be a valid ID of the suspended process. 0..1
ProcessIDType(Optional) The type of process ID. Helps in interpreting the ProcessID. string MESSAGEID (default)
DEFINITIONID
0..1
Command
(Optional) Start or restart a workflow. string START (default)
RESUME
0..1
InDocument
(Mandatory) See Common Parameters.

If the command is specified as START, this document is submitted as a workflow request.

     
SelectionMethod
(Optional) Used to decide if the status of the first or last application task should be returned for the given message ID. string First

Last (default)

1
WorkflowPrority
(Optional) See Common Parameters.

If the priority is not specified, event priority is inherited by the new message.