cancel
Showing results for 
Search instead for 
Did you mean: 

Send Mapping exception in an email

Former Member
0 Kudos

All,

I am using UDF to see if a mandatory field is missing and invoke mail channel to send an email.

Now I want to use the same UDF to send any mapping exception (not any particular field specific) that may be caused during mapping in an email. Please let me know how this can be achieved. I tried using  headerField1 = (String) map.get(StreamTransformationConstants.MAPPING_TRACE); But it is not being captured in my email.

Please advice.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184720
Active Contributor
0 Kudos

Do you have any constraint in using the RWB alerts? it's very simple implementation.

However your UDF mechanism works only when you know what kind of error's you'll get.

to handle all the cases- Either you have to go for java mapping/ use RWB alerts to send any email notification for any failures in XI.

instead of making things more complex, i would always prefer the standard way i.e. RWB alerts.

Regards,

Hareesh