on 03-19-2009 8:35 AM
Hi...
I have a scenario wherein i need to collect all the PEXRS first and then the EUpexr.
Mybpm design is
PEXR_recv->RFC->Send Log->EUPEXR RCV->Transform->sendlog.
i tried looping it but its not working. moreover everytime the pEXR is recvd ... it starts a new process and eupexr is processed right after the first pexr which is not ideal... eupexr must be collect after all pexrs r rcvd.. any suggestions.
regards,
Vinithra
Vinithra,
May be u can give time say 5 minutes....it will collect all the pexrs within five minutes and generate the output
after that again for the next five min it will colect all the pexrs coming within those 5 min and generate the output...
what is the problem in this ?
Edited by: Tarang Shah on Mar 20, 2009 11:07 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Vinithra,
use a loop wherein you will have to use a condition say a counter
inside the loop use the receive step
after that Create the Container step and use "append" as operation and output should go to a multiline messaage.
then use another container step for counter with operation "assign".
after that loop will be closed...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Vinthra,
You can give condition based on..
1. number of times you want to loop say 5 times...i have given you the same example above to use the counter variable in the loop condition...and incrementing the counter within the loop
2. time limit: here you can give a infinite loop ..say condition 1: 1 . then you will have to specify a deadline branch for say 5 minutes and after that a control step
wht this would do is it will keep on receiving files and putting them in the multine container till 5 minutes are over...whatever action you want to do after the 5 min are over can be specified in the control step...say throw exception or cancel process etc...
Giving points is another way to say thanks
Hi,
i am not able to give a condition like counter in my scenario as i dont knw how many pexrs will be coming. it might vary every time. neither can i Give time cos if some ther pexrs come it will be wrong according to the logic of the scenario.
Also there are no common field or count between the two idocs...such that i can mention in the while loop... is there any other way of doing this.
thanks...Regards
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.