You are here

You are here

Aborting Workflows

Though not commonly needed as part of a normal business process, the SpringCM web services API provides the ability to "Abort" the execution of a workflow.  The workflow Uid or numeric Id must be known and passed to the BPMAbortWorkflow method.  The call is asynchronous and does not pass anything back in the response.

Although this method requires a string parameter called "comments" to be passed, it is not currently used at this time.

Vertical Tabs

c#
//It is assumed that the workflow instances id was obtained from the
//UI or previous set of code
springCMService.BPMAbortWorkflow(token,instanceId,"");
java
//It is assumed that the workflow instances id was obtained from the
//UI or previous set of code
springCMService.BPMAbortWorkflow(token,instanceId,"");