on 10-05-2015 9:00 AM
Hi All,
how to fail this message in mapping in PI. When field is coming as a empty? source occurrence is 0 to 1 and target occurrence is also 0 to 1.
thanks
Hi Prem,
It depends on how fancy you want to get... you can simply write a UDF to throw a StreamTransformationException or you can take it a step further and try to collect all errors for one message. I have explored the second option by also throwing a StreamTransformationException in the case that any errors exist for the message which is then shown in the Message Monitor log. The thing I was really shooting for was to write an attachment to the message with all the individual messages listed out but we were having trouble with attachments either getting saved or being visible in the message monitor after a failure happens. Some ideas to consider anyhow...
Regards,
Ryan Crosby
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prem,
You can throw and print custom error message by using Audit log entries if you are using PI 7.3+.
Regards,
Sateesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I'm not sure what you mean. Can you provide more (relevant) details please?
Thanks
Dimitri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
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.