Skip to Content
0
Former Member
Oct 23, 2015 at 04:25 AM

How to customize E-Mail Alerts to show the failed Step/Job names in SAP CPS?

115 Views

Hi Expert,

I am using Advanced E-Mail Customization using Job Definition to send out Email alerts from CPS and it's a copy of Definition System_Mail_Send created as Job Type Mail.

I am receiving E-Mail Alerts with attachments but how do I get a Job Chain/Step Names in the E-Mail Body ?

The Scenario is, Job Chain (JC1) has two steps. Step 1 has 2 jobs (Job 1 & Job 2) and Step 2 has Job 3 to send email alert.

The Parameter ${jobname}:{jobid} is returning the name of Job 3 (The Job which triggered the notification) but we want to see the name of either Job 1 or Job 2 or Step 1 names.

If it's possible to define using parameters, please let me know the Constraint Data filed value.

Any help would be highly appreciated.

Thanks,

Shiva

Attachments