How to identify from where an event is triggered ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2020 10:45 PM
Hi,
Could any one please help me how to identify the list of places where an event is triggered?
Issue: I've an existing notification which is triggered by an event. I'm not able to identify the place where this event is triggered. I've searched in Workflow, Business rules, Script Includes, Scheduled Jobs.
Regds,
Shanker
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2020 11:22 PM
Hi,
An event can be triggered from potentially any script, by using "gs.eventQueue('eventname', glide_record);".
So, if you're interested in a particular event trigger instance, you can navigate to System Policy --> Events --> Event Log, and then look for your event in the list by filtering on the name. Then you can view the details of the event that was triggered there, with the instance field containing the sys_id of the record that triggered it.
Otherwise, you can also do a code search for gs.eventQueue('youreventname, in the studio if you're on a scoped application (shortcut ctrl+shift+F), or in the global search, if the scope of the event and actions are global. It should scan all the artifacts, and show you all the business rules, UI actions, client scripts etc., where your event is getting triggered through gs.eventQueue.
Thanks & Regards,
Rishabh Jha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2020 11:23 PM
Hi,
You can check in the Event logs as well it will display the event created on today.
In the event registry list view you can add updated field and check for latest updated events.
Thanks,
Pooja M

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2020 11:32 PM
Hi
Did you check for Flow (Designer) Flows?
BR
Dirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2020 11:38 PM
Hi Shanker,
I believe most of the components are already told to you for checking; few more to check
-workflow schedule
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader