REST API - retryProcessInstances

The table summarizes the REST API - retryProcessInstances.

Request

Format
PUT <baseurl>/process/retry/instances/<module>/<process>/<version>
Path parameters
  • module: Name of the module to which the process template belongs.
  • process: Name of the process template whose halted process instances are to be retried.
  • version: OSGi-style version number of the process template. (This version number is the same as that of the module.)

    These parameters can be obtained from queryHaltedProcessInstances .

Response

JSON If successful, returns 204 No Content in the response header. The response body contains an integer value indicating the number of halted process instances that were successfully resumed.
XML If successful, returns 204 No Content in the response header. The response body contains an integer value indicating the number of halted process instances that were successfully resumed.

Example

Request
PUT <baseurl>/process/retry/instances/%2FAcme-CommonFields%2FProcess%20Packages%2FCommonFields.xpdl/ErrorTestsProcess/1.0.0.201210231047
Response
2