cancel
Showing results for 
Search instead for 
Did you mean: 

Process chain link local with option successful and other with always

Former Member
0 Kudos

Hello,

In a process chain I want to link local chain A with local chain B and local chain C.

Local chain B should always be allowed to start, regardless of the fact if local chain A is successful or not.

Local chain C however is only allowed to start when local chain A is successful.

However this combination doesn't seem to be possible. When I link A with B using the 'Always' option, then I also have to use the 'Always' option between A and C.

And when I start with the link A and C, then I can choose the option 'Successful', but when I link subsequently A with B, then I don't have the option 'Always' anymore.

Does anyone see a solution for this problem ?

Thanks in advance !

King Nothing

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Alex,

Please try the below option,

Local chain B should always be allowed to start, regardless of the fact if local chain A is successful or not.

Create a meta chain with local chains A and B as parallel runs.

Local chain C however is only allowed to start when local chain A is successful.

Link with option successful process chain C to chain A

So in this meta chain, A and C will run serially and B will run in parallel.

Hope this will suit your requirement.

Thanks,

Vinod

anindya_bose
Active Contributor
0 Kudos

Hi Alex

You have to go for an ABAP code.

A will have an ABAP command based on which it will update a table ( TVARV). So if this is successful let say

we will have VAR1 == 1 ( for success).

Now Schedule the chain this way.

A--


>(Always)--->B

A----


>(ALways) -


>2nd ABAP code -


>Successful -


>Chain C --->Again rest the value of TVARV table via ABAP code.

2nd ABAP code will read TVARV for VAR1 and accordingly triggers Chain C if condition satisfied.

You can get some information in the below thread.

Regards

Anindya

Edited by: Anindya Bose on Nov 16, 2011 4:43 PM

Former Member
0 Kudos

Hi ,

Why don't you start with Local process chain C , followed by local process chain A and if A is successful trigger process chain B.

Thanks.

Rohit Garg