Is there any table where Script Action calls are logged and we can see when an Event is created?

Mauneel Sorath3
Kilo Contributor

I have tried to look into Event Logs, but it doesnt show any details about Script Action

6 REPLIES 6

Community Alums
Not applicable

Hi @Mauneel Sorathia ,

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 actionsScript 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 scriptscript 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

https://community.servicenow.com/community?id=community_question&sys_id=c71ccf25db9cdbc01dcaf3231f96...

 

Mark my answer correct & Helpful, if Applicable.

Thanks,
Sandeep

Hi @Sandeep Dutta ,
It doesnt answer my question, I want to know how can we confirm that Script Action was called ?

Abhijit4
Mega Sage

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

By marking my response as correct or helpful, you contribute to helping future readers with similar issues.
Regards,
Abhijit
ServiceNow MVP

Hi, I am able to find the Events but not Script Action details in 'sysevent'.