The CreatorCon Call for Content is officially open! Get started here.

Script to determine age of a ticket

reeset
Kilo Contributor

Hi everyone.   I am happy you. All are here and can   hopefully assist me

i tried this through inactivity monitor but it doesn't work correctly. So I would like to use another method like scripyin and have the scripting trigger an email

The parameters are.   Check ll incidents if the incident is 30 days or more and still open,   trigger an email to go out to the assignee of ticket.   This should be done for all open, ain progress, pending or assigen.   Got all tickets that are found an email is sent to the assignee   and manager

i I don't want to use inactivity monitor.   I would like to use a script which fire off an email

does anyone already have something like this or able ti share how this Cavan be accomplished

THANK YOU,,,

24 REPLIES 24

Hello Terry,



In the event log are you seeing these events getting created? incident.unresolved



Could you please share what you are seeing in the event log?



I'm sorry I'm not sure if I'm understanding correctly the question about the event creation. Do you men in System Policy -> Events Registry? In my instance there is not an option to choose between Business rule or notification in that form.



Thank you.


Hi Edwin, thanks for getting back to me.   Here are the pictures.   Bottom one shows you the business rules or notification as Related Links.   THanks!!!



servicenow.jpg


Hello Terry,


I'm sorry, the pictures are appearing very small for me. Could you please post them again?


Hi Edwin, I apologize for the delayed response.   Here are the screen shots


find_real_file.png


Hello Terry,



Can you do a search for incident.unresolved under the name column in the events table?