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