wfm.CreateProcessInstance

This job creates a process of the specified workflow family if the specified user has the right to execute the workflow. The created process instance can then be started using the job wfm.StartProcess.

1. Input Parameters

Name Type Required Description

UserId

STRING

Yes

ID of the user

OrganisationId

STRING

Yes

ID of the organization

WorkflowId

STRING

Yes

ID of the workflow family

ClientTypeId

STRING

Yes

ID of the client type used

2. Output Parameters

Name Type Dependency Description

ProcessId

STRING

ID of the newly created process

3. Return Value

(INT): 0 = Job successful, otherwise error code.