Is there a way to manually fire a notification?

JLeong
Mega Sage

I have a number of Service Catalog requests waiting for approval. My email notification did not fire bec of missing condition.

Is there a way to manually push or fire the notification to the approvers so they can approve them? Most of our approvers do not login to ServiceNow, instead they approve requests via email

Thanks!

1 ACCEPTED SOLUTION

salemsap
Tera Expert

Hi,


just run a background script like below


var gr = new GlideRecord('sc_req_item');


gr.addQuery('state','work in progress');   // replace work in progress with proper backend value of the WIP state


gr.query();


while(gr.next())


{


gr.update();


}


View solution in original post

6 REPLIES 6

Deepak Ingale1
Mega Sage

Hello,


You can do this with email client, and quick message I guess.



You will need to enable email client on 'sc_request' or 'sc_request_item' table. Once done, you can either configure quick message to send approver reminder / approval mail to approver.



Enabling the Email Client - ServiceNow Wiki


tony_barratt
ServiceNow Employee
ServiceNow Employee

Hi Jocelyn,



Have you fixed the condition on the notification?


Are the events still available? They are kept for 7 days.


If the answer to both questions is yes, perhaps you could reprocess the event and persuade the notification email to fire.


Check this out in sub prod first?



Best Regards



Tony


salemsap
Tera Expert

Hi,


just run a background script like below


var gr = new GlideRecord('sc_req_item');


gr.addQuery('state','work in progress');   // replace work in progress with proper backend value of the WIP state


gr.query();


while(gr.next())


{


gr.update();


}


Thanks Alex! Background script worked!!