cancelProcessInstance
This cancels the specified process instance. This results in all work items associated with that process instance also being cancelled — they are removed from work lists of all users to whom they were offered or allocated.
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 cancelProcessInstance.
Copyright © Cloud Software Group, Inc. All rights reserved.