How to differentiate between approvals for change requests and RITMs

Cat
Giga Guru

Hi All,

 

I'm trying to implement approvals on RITMs and I'm using the approval.inserted event, however, that seems to also be used currently (in our environment) for change approvals.

Which event differentiates between approvals for change and approvals for RITMs?

 

Thanks in advance for any help!

2 REPLIES 2

Dr Atul G- LNG
Tera Patron

Hi @Cat 

If the event is the same, we can add a condition in the email notification where the ticket number starts with CHG or RITM.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Ankur Bawiskar
Tera Patron

@Cat 

OOTB this event "approval.inserted" and email notification "Approval Request" is triggered on any approval insertion

This is same for CHG and RITM.

So you can't differentiate there.

AnkurBawiskar_0-1768986925777.png

 

You can differentiate that in the email scripts used by that OOTB Notification

These 2 email scripts are used by that email template

AnkurBawiskar_1-1768987204355.png

AnkurBawiskar_2-1768987231071.png

 

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader