Notification to requested for custom variable in a catalog item

Arka Banerjee
Kilo Guru

Hi All,

I have a requirement for a catalog item that whenever any additional comments are added in the RITM, it should trigger an email notification to requested for(which is a custom variable in the catalog item). Can you please help me on the same. Thanks!

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you can use event based approach

1) create event on RITM table

2) create notification on RITM table and link with above event

a) Event parm1 contains Recipient - True

b) Send to event creator - True

3) you can use after update BR on sc_req_item table

Condition: Comments Changes

Script:

gs.eventQueue('event_name', current, current.variables.requestedFor);

Regards
Ankur

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

View solution in original post

3 REPLIES 3

Rahul Dev1
Giga Expert

Hi Arka

You can create a notification as below:

 

find_real_file.png

 

Who will receive:

 

find_real_file.png

 

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you can use event based approach

1) create event on RITM table

2) create notification on RITM table and link with above event

a) Event parm1 contains Recipient - True

b) Send to event creator - True

3) you can use after update BR on sc_req_item table

Condition: Comments Changes

Script:

gs.eventQueue('event_name', current, current.variables.requestedFor);

Regards
Ankur

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

MADHU-THE-ROOK
Tera Contributor

Awesome ,  Ankur. Simple and to the point.