cancel
Showing results for 
Search instead for 
Did you mean: 

Execute Process chain in loop

former_member200211
Active Participant
0 Kudos
706

Hi,

I have process chain created and my requirement is to trigger the process chain multiple times.

I have created one event and used this event to be called by FM 'BP_EVENT_RAISE'. This FM is called in the program as last step in process chain.

The issue is when i schedule the process chain with immediate option in direct scheduling, it executes the process chain only once and does not re-excute the chain even though the condition required statisfies.

Please let me know if any step is missing.

View Entire Topic
Former Member
0 Kudos

Hello Lavanya,

the solution to your problem is not difficult.

The process you want to execute I has to be in a separate chain: 'X'.

Now create 2 new chains: 'A' and 'B'.

Chain A will have

START-EVENT

EXECUTE SUBCHAIN X

TRIGGER CHAIN B

Chain B will have

START-EVENT

EXECUTE SUBCHAIN X

TRIGGER CHAIN A

I have used this trick a lot in the past so I know it works fine.

Have fun,

Twan Jans-Beken