on 12-24-2010 9:08 AM
Hi,
To understand how a Loop,Multi Line and Container concept work in BPM I created a simple a scenario where in n files from the sender will be sent as n-1 different files to the target as long as the file contains the field <Name> as Vishal.
Loop and Container: Used to collect(Container) the files as long as field <Name> is Vishal. When the 'n'th file with the Name other than Vishal is received I need to stop the loop and transform the message.
The steps i followed in BPM:
1: Block
Mode:Default , Block Start and Block End:New Transaction
2:Loop
Condition: ReceiveMsg/p1:MT_File/DT_CONTENT/FirstName not equals Vishal
Where ReceiveMsg is the abstract interface in the container.
3:Container
Target: ReceiveMsgList, Operation:Append,Expression=ReceiveMsg
Where ReceiveMsgList is the multiline abstarct interface in the container
4:Transformation(Outside Loop)
Both Source Message and Receive Message pointing to ReceiveMsg as it is one to one mapping of same source and target structure.
5:Send
Message:ReceiveMsg, ReceiverFrom:Send Context
There's no error in moni. But I am unable to get the target file.
Pls help me on this. I am not sure whether the steps used are correct.
I did read about Loop , Multi Line and Container concepts before proceeding with the development.
Regards,
Vishal
Edited by: Vishal.P.Kulkarni on Dec 24, 2010 10:09 AM
Hi,
change the Loop condition to Condition: ReceiveMsg/p1:MT_File/DT_CONTENT/FirstName equals Vishal
then till the files come with this data, ur loop will run......
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.