Skip to Content

PI Alert Rules: Populate Dynamic File Name

Is there an option to populate DYnamic FileName in the PI alert rules?

Thanks,

Ashish

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Sep 15, 2015 at 01:30 PM

    Hello Ashish,

    Refer the below link to customize alerts

    Customize E-Mail Body and Subject in Alerts in SAP PI 7.31 – Java Stack Only – Part 1 – ESR

    Once you customize,use the below code to populate the filename in the required field.

    DynamicConfiguration conf = (DynamicConfiguration) inputobj.getDynamicConfiguration();

    DynamicConfigurationKey keyFileName = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");

    String sourceFileName = conf.get(keyFileName);

    And Enable adapter specific attributes in the Sender File channel.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 15, 2015 at 06:22 PM

    Configure the user defined message search for this interface and under search criteria, add a new one for dynamic header combination ( FileName ,http://sap.com/xi/XI/System/File)

    With the new CBMA alerts, you should also receiver UDMS attribute information in the alert emails and hence the file-name is part of email.

    Add comment
    10|10000 characters needed characters exceeded