Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SAP CPS alerts with basic alerting module

Hi All,

We have only basic alerting module and we are using M33.68971 version Can you please advise, if it is possible to do the below things with the basic alerting module? If so, please advise.

1) From Monday to Friday,  whenever a job gets failed in CPS, an email needs to be sent to servicedesk@abc.com.

2) On Saturday and Sunday, whenever a job gets failed in CPS, an email need to be sent to the corresponding group as per the application area.

Thank you in advance.

Regards,

Ramana

replied

Hi All,

I have defined the second parameter say 'parameter2' to get the 'job description' with the below REL.

=Query.getString('select Job.Description from Job where Job.JobId = ? ', [waitEvents.EVENT_EMAIL.raiserJobId])

I have defined the third parameter say 'parameter3' to get the 'job name' with the below REL by referring the second parameter in the below query.

=Query.getString('select JobDefinition.Name from JobDefinition where JobDefinition.Description = ? ', [parameters.parameter2])

Thank you so much nanda for pointing me in the right direction.

Regards,

Ramana

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question