Stopping/Killing a Job/Process


I have an If activity where I need to kill/stop the process if the condition is not met, e.g.

If x = 2 then execute the rest of the activity
else kill/stop the process

How am I able to do this please?



You can throw an exception: Add a Throw activity and in the Exception property, create an Exception instance with some message to appear in the log.

use terminate worklow activity in else part

Hello @redanime94

Please try the attached workflow and check the results (2.9 KB)

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.