REST API - suspendProcessInstances

The table summarizes the REST API - suspendProcessInstances.

Request

Format
PUT <baseurl>/process/suspend/<module>/<process>/<version>
Path parameters
  • module: Name of the module to which the process template belongs.
  • process: Name of the process template whose process instances are being suspended.
  • 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 listProcessTemplates , queryProcessTemplates , and queryProcessTemplatesAlt .

Response

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

Example

Request
PUT <baseurl>/process/suspend/SalesCallback%2FProcess%20Packages%2FSalesCallback.xpdl/SalesCallbackProcess/1.0.4.201210231049
Response
3