Starts an instance of a process template associated with a connected Progress.BPM.UserSession; that is, it causes the Business Process Server to instantiate a process and initiate this process as defined by the process template.
Return type: Progress.BPM.Process class
Access: PUBLIC
Applies to: Progress.BPM.UserSession class
StartProcess( INPUT TemplateName AS CHARACTER) StartProcess( INPUT TemplateName AS CHARACTER, INPUT dsTemplateArray AS Progress.BPM.DataSlotTemplate EXTENT, INPUT NamePrefix AS CHARACTER, INPUT Priority AS CHARACTER ) |
If you call the one-parameter overload of the method, the Business Process 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 Business Process Server.
If the method fails, it raises a BPM error.