cancel
Showing results for 
Search instead for 
Did you mean: 

process chain step termination---intentionally failing it

Former Member
0 Kudos

Hi ,

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

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi,

Can you please elaborate the requirement?

Do u mean, u just want to terminate the program after say 2 hours and sent an alert message ( email). After this termination do u have any more dependent steps in the chain? or is it last step in the chain?

former_member213275
Contributor
0 Kudos

HI,

Use FM: "RSPC_API_CHAIN_INTERRUPT" to kill the running process chain and then call the FM: "SO_NEW_DOCUMENT_SEND_API1 " to send an email to concerned persons.

Srikanth.