on 02-18-2009 6:16 AM
Hi all,
In a BPM Scenario,How to come out of an infinate loop.
Thanks,
srinivasa
By providing a condition
Loop in BPM acts like "while" statement of a programming language. Until that condition is met, it will keep on looping. e.g. If loop has some value = 5, then it will loop for 5 times and in each loop use Container Operation to Append 1 value to previous value.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
As i understand you have infinite loop and want to come out. The solution is:
1. Put you loop in block and mention in property of this block exception with any name.
2. Insert exception and deadline branches
3 In exception branch choose exception name which you created in block step
4 In deadline branch choose time interval (time to come out from infinite loop, for example, one minute)
Also you can check you case in standard SC SAP BASIS in namespace http://sap.com/xi/XI/System/Patterns -> integration process BpmPatternCollectTime
BR,
Dzmitry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can put loop after step 1. In loop put the condition which will be satisfied if its a error message. So take one container variable and update it according to your successful/unsuccessful processing and use it in condition editor of loop.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.