i Have Requirement where whenever Job scheduler is failed or stuck we send email notification to customer and support team
There are couple of ways to handle this scenario.
The convenient way would be to enabled the “Job Scheduler failure event” notification if you are using PDC (Pega Predictive Diagnostic Cloud). It will send an email communication to the defined email ID in case of failure.
Second way if to add the exception handling logic in your Job Scheduler activity code in case of failure. If the failure happens, as part of exception handling, you can send email notification.
@PrakashDeep Hi, How to enable the “Job Scheduler failure event” notification in the PDC, is there any configuration steps to set up the failure event notification also when we verified from our system in PDC currently the jobscheduler information should be empty so is there any set up configurations required, please see attached image
Pega provides a provision to check job statuses in Admin Studio. Goto Admin Studio>Jobs>filter the Job list and check the statuses.
Alternatively if you have PDC access then you can goto the gear icon on the top right corner>Notifications>Manage Notifications. After the Notification page loads click on New Notification>Event Based Notification>select the notification name as PEGA0098 and add the remaining details and Submit.
@SohamM95 Hi All, We enabled PEGA0098 Notifications In PDC, However. when our Job scheduler is stuck or any failure was happened during runtime ,we are not getting any notifications from PDC, Can you please advise.
Is PEGA0098 showing up in PDC logs?
