Cancel execution operation
You can use the cancelExecution operation to cancel a current process run on a particular Runtime.
To cancel a process run, you must have access to it and to the Atom on which the process is currently running.
Parameters
The following parameter is required to perform the cancelExecution operation:
| Parameter | Description |
|---|---|
| executionId | A unique identifier assigned by the system to a running process. |
SOAP implementation
To perform a cancelExecution operation, use it from the WSDL. The following example shows a SOAP envelope for canceling a process run.
Request:
<soapenv:Envelope
xmlns:api="http://api.platform.boomi.com/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:par="http://partner.api.platform.boomi.com/">
<soapenv:Header>
<wsse:Security
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken wsu:Id="UsernameToken" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username>BOOMI_USER_NAME</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">
BOOMI_PASSWORD
</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<par:cancelExecution>
<par:executionId>execution-01234567-89ab-cdef-0123-456789abcdef-2013.05.21</par:executionId>
</par:cancelExecution>
</soapenv:Body>
</soapenv:Envelope>
Response:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<bns:cancelExecutionResponse xmlns:bns="http://partner.api.platform.boomi.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
</S:Body>
</S:Envelope>
Was this topic helpful?