Written by

Question Dhaval Shah · Jan 15, 2019

How to kill instances of a business process?

Friends , can anyone help in how to kill instances of a business process? We have searched the documentation and looked in the Production, We am not seeing how to perform this task.

Comments

Marc Mundt · Jan 15, 2019

You can stop a business process completely (along with all other components) by stopping the production:
https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KE…
To only stop a specific business process, you can disable that specific component:
https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KE…
You can also view the status of and manage individual jobs that are doing processing for the business process:
https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KE…

0
Cliff Akers · Jan 17, 2019

To terminate Business Process Instances:

  1. Go to Interoperability->Business Process Instances, then note the ID of the instances you wish to kill.
  2. Open terminal  and run the following: s obj = ##Class("Ens.BusinessProcess").%DeleteId(ID), where ID is the numeric value from step 1
0