ProcessInstanceID | String ID of the process instance that you want to change the status of. |
ProcessIteration | String The iteration of the process instance that you want to change the status of. |
ProcessModelID | String Optional. ID of the process model (ModelID) associated with the process you want to change the status of. |
ProcessModelVersion | String Optional. Version of the process model to change the status of. |
Action | String Process action that is to be applied to the specified process instance. The following values apply: SUSPEND. Causes a process instance to temporarily stop executing. RESUME. Causes a suspended process to continue executing. CANCEL. Causes a process instance to terminate without an error condition. FAIL. Causes a process instance to terminate with an error condition. |
EscalateFailure | String Conditional. Flag that indicates whether the parent process takes control of a failure in a referenced process. The following values apply: true — Default. The parent process receives notification of the failure from a referenced process and continues executing. The failed referenced process cannot be resubmitted as the parent process is no longer waiting for a response. false — The parent process does not receive notification of the failure from a referenced process and continues to wait for a response; this enables the referenced process to be resubmitted for another attempt at normal process completion. See the Usage Notes for more information. |
Note: | If this service runs to completion, it means that the request for a status change has been made. The servers involved handle these requests asynchronously. You can track the status of a process using webMethods Monitor. |
Status | Action | New Status |
Started | SUSPEND | Suspended |
Started | FAIL | Failed |
Started | CANCEL | Canceled |
Suspended | FAIL | Failed |
Suspended | CANCEL | Canceled |
Suspended | RESUME | Resumed/Started |
Completed | FAIL | Failed |
Note: | To be able to resubmit the failed referenced process, you must enable the failed step for resubmission in webMethods Monitor. For more information, see the webMethods Monitor User’s Guide. |