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 ACCEPTED SOLUTIONS

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]

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

View solution in original post

@Cat

if you want different email content then separate them out

1) update OOTB to include source table  = sc_req_item (Since you are updating OOTB it will be skipped during upgrade)

2) create new notification with exact same event etc source table = change_request

OR
update the email scripts I shared as per your requirement

šŸ’” 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

View solution in original post

11 REPLIES 11

The email notifications are different depending on whether it is a change or ritm - would it work in this case?

@Cat

if you want different email content then separate them out

1) update OOTB to include source table  = sc_req_item (Since you are updating OOTB it will be skipped during upgrade)

2) create new notification with exact same event etc source table = change_request

OR
update the email scripts I shared as per your requirement

šŸ’” 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