Initiate Workflow Service

This web service is used to initiate workflow for a given record.

You must specify the command type as ’InitiateWorkflow’ and the entity commandqualifier as ’docSubType’ to invoke a workflow for a record. Before initiating a workflow for a docsubtype, make sure that the docsubtype entry is in the Process Definition Selection business process. Triggering a workflow is an asynchronous process, so the response is returned immediately. It does not wait for completion of the workflow. Because of this you will always see a success message in the response message.

Note: Records with RECORD_STATE as Draft cannot be used to initiate a workflow.