cancel
Showing results for 
Search instead for 
Did you mean: 

Need to trigger email from SA PI when some field missing in the source Payload

Former Member
0 Kudos

Hi Team,

I have a scenario from IDOC to FILE

I have a requirement like  when particular field is not populating from source payload  then i have to trigger an email to the group of recipients and the message  doesn't  went to target system.(In the payload they are not sending the empty tags also)

If the value is present in the source payload it will go to target as is.

Could you please advise on this

Accepted Solutions (0)

Answers (2)

Answers (2)

JaySchwendemann
Active Contributor
0 Kudos

If I understand you correctly you want two things to happen if a specific node in source message is not there / is empty.

1. Message should not be routed to target system

2. Some people should get an email alert

If that's correct you could simply specify target field as mandatory. If it isn't populated a mapping error will occur. You could then use PI internal alerting to send out email. No need for UDF or the like needed then.

If you need route the message to target system even if your node is not populated that's a different story. has filled you in with possibilities for that situation, already.

Cheers

Jens

iaki_vila
Active Contributor
0 Kudos

Hi Raju,

You can send an alert/email with java mapping/ UDF like this document shows or this wiki Mail without email adapter? Part - I - Process Integration - SCN Wiki

You only need to set the condition of the tag existence to throw the email.

Hope this helps.

Regards,