Software AG Products 10.7 | Administering and Monitoring Business Processes | webMethods Monitor Built-in Services Reference | pub.monitor.integrationProcessLogging Folder | pub.monitor.integrationProcessLogging:createStepInstance
 
pub.monitor.integrationProcessLogging:createStepInstance
Creates a new step instance of the specified process step.
Input Parameters
The following table lists the input parameters.
processKey
String The internal identifier (that is, process key) of the integration process definition that the step is a part of. You defined the process key 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 identifier of the process instance that the step instance is a part of. You assigned the process instance an identifier when you created the process instance using the pub.monitor.integrationProcessLogging:createProcessInstance service.
A process instance ID is 1 to 32 alphanumeric characters.
stepID
String The internal identifier of the process step for which you want to create an instance. The step identifier that you specify must already be defined in the Process Audit Log. You defined the step identifier and associated it with a process step when you added the step definition to the Process Audit Log using the pub.monitor.integrationProcessLogging:createStepMetadata service.
A step identifier is 1 to 128 alphanumeric characters.
stepIteration
Number Optional. The iteration of the step you are creating. Specify an iteration count if the step is executed multiple times within a single process instance, for example, if the step is within a loop or is an error handling step that can be executed more than one time. By default, the service uses a value of 1 for stepIteration.
Output Parameters
The following table lists the output parameters.
result
String The outcome of creating the step instance. If the service successfully created the step instance, result is “success.” If the service encountered an error attempting to create the step instance, result contains the exception.
Usage Notes
*The new step instance is added to the Process Audit Log.
*After initially creating a new step instance, the step instance status is Started.
*If this service encounters errors, you can review the errors on the My webMethods pages you use to monitor services.