Terminate a process from End Event of a sub-process

Certified Senior Developer

Hi,

Let's admit I have 3 process. Process A calls a sup-process B wich calls it self another process C.

If a fonctionnal error is raised from C, is there any way to stop definitively B and A (from C) ?

Or I have to deal with an error code below to push up the information to the parent process of each process ?

Process C met an error, we set pv!error=true and terminate the process

In Process B we test the return value from C, if true, we set pv!error=true and terminate the process

In Process A we test the return value from B, if true, we terminate process

  Discussion posts and replies are publicly visible