How to kill a BP from within the Bot task code?

Let’s say i want to terminate the current run of a scheduled business process based on some condition. For example, let’s say a given application is not available due to server issues and therefore the current run of the BP has to be terminated then and there without proceeding through with the rest of the code.

Thanks much.

You can use WorkFusion REST API to achieve it.

Hi Harish , i am unable to view the content , the website is not taking me in using my current id and password, please help.