process chain step termination---intentionally failing it
in a process chain i have a step for executing a program. the program terminates when certain condition is met.
rite now it is running infinitely if the condition is not met.
There is a requirement to terminate the program after say 2 hours and sent an alert message ( email).
. Is there an exception which can be raised in a program to terminate ( process chain step should fail ).
Your help is much appreciated