on 06-09-2009 5:05 AM
Dear Friends / Experts,
I have a requirement, my scenario is File to proxy. When there is an error in mapping, then i need to send the file back to the source folder.
Is there any way to achive this without BPM? Also advise me the BPM steps.
Thanks in Advance
Bala.
Hi,
Create the target data structure in which u also have an error description filed which indicates the error and the error description.
Generate this error Dynamically from the payload that is generated.
Use this field in the receiver determination in the condition filed to check whether the flag is set or not.
If the flag is set send back the to the source directory through a communication channel specially created for the same.
You can even send the Error description along with the file.
Regards,
Bhanu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
this does only work with well known errors, so with expectable errors which can be handled by the mapping program. This kind of errors must be known by the developer and the next question would be why they cant be avoided?
Any kind of unexpected error would lead to a runtime exception and your flow will be interrupted. If you want to follow the requirements you have to use BPM because the exception branch will triggered for any case of error.
Regards,
Udo
I have a requirement, my scenario is File to proxy. When there is an error in mapping, then i need
to send the file back to the source folder
Using BPM:
1) Receive (from File)
2) Block
a) include a Exception Branch and put a send step in it (to send the File Back to the File Sender)
b) in the branch below the Exception Branch put the Transformation Step and have your mapping program assigned to it..
3) Send (OutSide the Block)...to send the message to the Proxy....
Check the feasibility of this design and get back if its wrong
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.