Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Why is the Catalog Task not sending an approval email from the system?

NANDAKUMARS
Tera Contributor

I have created an approval for the RITM, and when approval is requested, the system generates an approval email.
However, when I create an approval for a Catalog Task, the approval email is not generated.

Why does this happen, and what needs to be configured for Catalog Task approvals to send emails?

1 ACCEPTED SOLUTION

Bhavya11
Mega Patron

Hi @NANDAKUMARS ,

 

reason behind approval notifications are being sent successfully for Requested Items (RITMs) but not for Catalog Tasks (SCTASKs) because 

 

1. The Business Rule 'Approval Events (Task)' (on sysapproval_approver) handles the event triggering for both record types.

2. When an approval is inserted for a RITM, the event 'approval.inserted' is fired. The OOTB notification 'Approval Request' for this event, and the email is sent successfully.

3. SCTASK : When an approval is inserted for an SCTASK, the Business Rule fires the event sc_task.approval.inserted, there is no OOTB notification for the specific sc_task.approval.inserted event, the email for the SCTASK is not sent

 

Below configuration needed

need to create a new Notification record on the sysapproval_approver table configured as follows:

Send when: Event is fired

Event name: sc_task.approval.inserted

Recipients: Approver field

 

If this information proves useful, kindly mark it as helpful or accepted solution.

 

Thanks,

BK

 


Regards
BK
LinkedIn: https://www.linkedin.com/in/bhavyashree-karanth-55032a121
YouTube: https://www.youtube.com/@NowWithBhavya

View solution in original post

1 REPLY 1

Bhavya11
Mega Patron

Hi @NANDAKUMARS ,

 

reason behind approval notifications are being sent successfully for Requested Items (RITMs) but not for Catalog Tasks (SCTASKs) because 

 

1. The Business Rule 'Approval Events (Task)' (on sysapproval_approver) handles the event triggering for both record types.

2. When an approval is inserted for a RITM, the event 'approval.inserted' is fired. The OOTB notification 'Approval Request' for this event, and the email is sent successfully.

3. SCTASK : When an approval is inserted for an SCTASK, the Business Rule fires the event sc_task.approval.inserted, there is no OOTB notification for the specific sc_task.approval.inserted event, the email for the SCTASK is not sent

 

Below configuration needed

need to create a new Notification record on the sysapproval_approver table configured as follows:

Send when: Event is fired

Event name: sc_task.approval.inserted

Recipients: Approver field

 

If this information proves useful, kindly mark it as helpful or accepted solution.

 

Thanks,

BK

 


Regards
BK
LinkedIn: https://www.linkedin.com/in/bhavyashree-karanth-55032a121
YouTube: https://www.youtube.com/@NowWithBhavya