Is there any table where Script Action calls are logged and we can see when an Event is created?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2022 11:08 PM
I have tried to look into Event Logs, but it doesnt show any details about Script Action

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2022 11:37 PM
Hi
The Script actions are generally can be found in "sysevent_script_action" table.
You can use script actions to create server-side scripts that perform a variety of tasks,
such as modifying a configuration item (CI), or managing failed login attempts. Script actions are triggered by events only.
Script actions. Script actions are server-side JavaScript code that is executed when an event it is listening to is triggered on the specified table. Just like any other server-side script, script actions have access to all the server-side glide APIs,script includes, and other server-side resources.
you can refer below link :
https://www.youtube.com/watch?v=Zo-KT9ASLYQ
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2022 11:59 PM
Hi
It doesnt answer my question, I want to know how can we confirm that Script Action was called ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2022 12:01 AM
Hi,
Script actions are generally processed via event queue.
Could you please verify it in 'sysevent' table, it should be there with processed status.
Let me know if you have any further queries.
Please mark this as Correct or Helpful if it helps.
Thanks and Regards,
Abhijit
Community Rising Star 2022
Regards,
Abhijit
ServiceNow MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2022 01:54 AM
Hi, I am able to find the Events but not Script Action details in 'sysevent'.