on 02-08-2007 2:40 PM
Hi Group,
In File to File Scenario in the Item I need to check 2 fields(of length 4 and 6) for non zero ,if this fields contains zero (like eg:0000 and 000000) I need to deleted these record and need to send mail to admin.
Can any body Suggest how to Handle this!
hi,
I agree with satish's reply.For sending the error message create a condition in receiver determination step as said by "UDO"
Then configure alerts in case of any error in your scenario and send those alerts to the admin by email.
Hope it helps.
Regards,
Joslyn.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi swabap,
you can solve that on a easy way with condition in receiver determination. The condition editor is quite the same as that inside BPM. You check with X-Path, for example number(//yourField) = 0, and maintain a second receiver (mail). In the mapping you have something simular, you delete if you have only zeros.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I suggest write a udf in whtch u do the validation and if it is condition is satisfied, write a code to send a mail in the udf itself. Well i hvnt tried this...but u can give it a try....
Regards,
Akshay
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 do the check inside a check step in a BPM
(use xpath for that)
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
2 solutions,
1. Write an Adapter Module that will check for this data and if it is invaluid , set some flag and for validity set another falg . Use Conditonal Routing in the receiver / interface determination to proceed further.
Adv --> No BPM
Dis Adv --> Wrting Module code can be a "bit" complex
2. Use a BPM to do the valiadtion inside a mapping and then set some flag and a switch step in the BPM to decide whether to send to mail or not.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
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.