WMStartProcess

The WMStartProcess command directs the WFM Engine to begin executing a process, for which an instance has been created. When a process is started through this command, the first activity (s) of the process will be started. The process instance ID returned by this call will be valid for the life of the process instance.

You can view the XML input and output parameters which have to be passed for starting the process and displaying it. There is a list of errors and warning that can occur while execution.

 

Input Parameter description

 View Sample InputXML

Output Parameter description

 View Sample OutputXML

Errors and Warnings

View Sample Code

 

 

Input Parameter description

* implies for the mandatory parameter.

Name

Parent Tag

Description

Valid Value

Option *

Root

It refers to the case sensitive call name.

case sensitive call name.

EngineName *

Root

It is the cabinet or database name, which has to be connected.

NA

 

SessionID *

Root

It is the logged in user session id

NA

 

ProcessInstanceID*

Root

It is the process id that has to be started.

NA

 

 

Output Parameter description

Name

Parent Tag

Description

Option

Root

It refers to the case sensitive call name.

MainCode

Exception

Error code specified by WAPI.

ProcessInstanceID

Root

It is the process id which is started.

 

Errors and Warnings

Code

Constant Value

Message

11

WM_INVALID_SESSION_HANDLE

Invalid session.

4

WM_INVALID_PROCESS_INSTANCE

The process instance ID was not valid.

7

WM_INVALID_ATTRIBUTE

The attribute was not valid.