suspendProcessInstance

This suspends the specified process instance. This causes the process instance’s status to change to SUSPENDED. It also results in all work items associated with the process instance to also become suspended; when suspended, they cannot be opened.

Note that this is actually a base Application-class method. It is shown in the wccApiSample application’s Application.js only to illustrate how you can use the output of some of the server requests as input to base Application-class methods.

For information about using this method, see suspendProcessInstance.