Skip to Content
avatar image
Former Member

Need payload in Alert message

Hi Experts,

Can we get the failed message payload in our email alerts for failed interface. Can we achieve that.

Regards,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 08, 2015 at 03:34 PM

    What is your PI version? If you are on > 7.3, you can configure CBMA.

    When you create the alert rule, you can enable payload in alert message.

    Michal's PI tips: Component-Based Message Alerting

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Hareesh,

      I tried with option which Ashish has mention is blog.

      Enhancing CBMA Alerts and Message Monitoring with UDS Attributes

      I gave below details

      Sender Component: CRM

      Recevier: Third party component name

      interface name :SI_CRMOrdercreation_Sync_Out

      Namespce- urn://com:OTC:OrderCreationToOMS

      Status:Active

      In Search Criteria:

      Xpath:

      /ns0:MT_Ordercreation_Req/Order/tax

      I tried to test with above details mention but no luck . Tax field is not getting populated in Alert Email.

      Regards,

      Abhay

  • avatar image
    Former Member
    Jan 09, 2015 at 10:48 AM

    Hi Abhay

    The standard PI alert mechanism does not have any way to attch payload data.

    If you want to display only some part of payload in alert message, then you can use the function module SALERT_CREATE. However in this case, you will be able to handle only the mapping errors.

    But for other options say failure in adapter engine due to FCC error in communiction channel, the payload can not be attached.

    One work around would be create one more scenario mail to mail. So it will have 2 parts

    1. The PI alert message will be placed in a temporary mail server. The alert message will have mesage id in it.

    2. PI will read the mail from temporary mail server, in side PI do a look for payload using mesage id and then save it as content of the receiver mail system.

    Thanks,

    Indrajit

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Indrajit,

      Could you please give more inputs that how I can use function module SALERT_CREATE  in mapping error to raise alert through PI.

      Regards,

      Abhay