cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to dynamically update a process chain status ?

Former Member
0 Likes
1,441

Hi Guru's,

In our process chains, there are some steps that often fail for some reasons we can't explain.

Usually, we just repeat the step and it goes green.

In avoid such manual intervention, we put in place a second step that is launched if the first one fails.

It works well but when the first step fails, the process chain status remains RED even if the second one was successful

How could I manage the process chain status in a way that:

- if both steps fail, the global status would be RED

- if one of the step is GREEN, then the process chain must be GREEN

I think about isolating these steps into a dedicated chain that would be launched by a program that would deliver a status based on the above conditions ; what do you think of that idea ? Is there another easy solution I didn't think about ?

Please do not advise to find the root cause of the activation issue 😉

Thanks in advance for your recommendations,

May the BW force be with you,

Regards,

Thomas

Accepted Solutions (1)

Accepted Solutions (1)

chandan_praharaj
Contributor
0 Likes

you can write a ABAP program by using data from RSPCPROCESSLOG in the Function Module RSPC_PROCESS_FINISH along with the prequisite logic.


Regards,

Chandan

Former Member
0 Likes

Hi Chandan,

Many thanks for your helpful answer !

Where would you place that program: at the end of the process chain of outside the chain (in its metachain) ?

Regards,

Thomas

Answers (0)