Previous Next

StartProcess( ) method
Starts an instance of a process template associated with a connected Progress.BPM.UserSession; that is, it causes the SBM Server to instantiate a process and initiate this process as defined by the process template.
Return type:
Access:
Applies to:
 
Syntax 
StartProcess( INPUT TemplateName AS CHARACTER)
 
StartProcess( INPUT TemplateName AS CHARACTER, 
                INPUT dsTemplateArray AS Progress.BPM.DataSlotTemplate EXTENT )
TemplateName
The name of the template for the process that is to be started.
dsTemplateArray
An array of DataSlotTemplate objects used to initialize values when the process is started.
If you call the one-parameter overload of the method, the SBM Server starts the process with the dataslots set to the initial values specified in the process template. If you call the two-parameter overload of the method, you can override some or all of those initial values.
If the method succeeds, it returns a reference to a Progress.BPM.Process object. The Progress.BPM.Process object is a snapshot of the process instance created on the SBM Server.
If the method fails, it raises a BPM error.

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.