Creating Process Instance

To start working on a process, you actually have to create a process instance.

What is 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.

 

The following steps are provided for process instance creation.

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

 

Result

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.

 

Related Topics

Assigning Process Instance Attributes

Starting Process Instance

Fetching Worklist

Getting Workitem

Complete Workitem