Skip to Content
0
Former Member
Nov 22, 2011 at 11:44 AM

Generate mail message only if value mapping fails

43 Views

Hi All,

I have a scenario wherein I need to populate the default value NA if a VM lookup fails and send an email which lists all the values in a message for which the VM failed.

I tried achieving the same through 1:N mapping populating both the required target message and mail message from same source message. This setup works fine when the VM is absent. But the mail message gets generated, without any content, even if the VM is present. I have set the cardinality of the mail message in the mapping signature as 0 to 1.

Please suggest of a possible way to achieve the above.

Note: we are using PI 7.3

Regards,

Diptee