cancel
Showing results for 
Search instead for 
Did you mean: 

PI Alert Rules: Populate Dynamic File Name

Former Member
0 Kudos

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

Thanks,

Ashish

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member184720
Active Contributor
0 Kudos

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.

former_member186851
Active Contributor
0 Kudos

Hello Ashish,

Refer the below link to customize alerts

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.