To start working on a process, you actually have to create a process instance.
The representation of a single enactment of a process including its associated data. Each instance represents a separate thread of execution of the process, which may be controlled independently and will have its own internal state and externally visible identity, which may be used as a handle, for example, to update or retrieve data relating to the individual enactment.
Step1 Connection with OmniFlow Server : The user has to connect to the OmniFlow server in order to get the sessionid.
View the call details for connecting to the OmniFlow Server
Step2 Call WMCreateProcessInstance for the detailed description of the XMLInupt and XMLOutput parameters passed for the call.
View the call details for creating Process Instance
This call should return the process instance id of the created process instance. You have to retain this process instance id for the subsequent calls.