Software AG Products 10.7 | Administering and Monitoring Business Processes | webMethods Monitor Built-in Services Reference | pub.monitor.integrationProcessLogging Folder | pub.monitor.integrationProcessLogging:createProcessInstance
 
pub.monitor.integrationProcessLogging:createProcessInstance
Creates a new process instance of a specified integration process.
Input Parameters
The following table lists the input parameters.
processKey
String The internal identifier (that is, process key) of the integration process for which you want to create an instance. The process key that you specify must already be defined in the Process Audit Log. You defined the process key and associated it with an integration process when you added the process definition to the Process Audit Log using the pub.monitor.integrationProcessLogging:createProcessMetadata service.
A process key is 1 to 64 alphanumeric characters.
processInstanceID
String The process instance ID you want to assign to the new process instance you are creating. You can create your own process instance ID or use the pub.monitor.integrationProcessLogging:generateProcessInstanceID service to generate one.
If you create your own process instance ID, the ID must be 1 to 32 characters.
Output Parameters
The following table lists the output parameters.
result
String The outcome of creating the process instance. If the service successfully created the process instance, result is “success.” If the service encountered an error attempting to create the process instance, result contains the exception.
Usage Notes
*The new process instance is added to the Process Audit Log.
*After initially creating a new process instance, the process instance status is Started.
*If this service encounters errors, you can review the errors on the My webMethods pages you use to monitor services.