what is script action ?

elizabeth keen
Giga Contributor

what is script action in servicenow?

1 ACCEPTED SOLUTION

shubham jagtap
Tera Guru

Hi,

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://docs.servicenow.com/bundle/geneva-servicenow-platform/page/administer/platform-events/refere...

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

https://subscription.packtpub.com/book/virtualization_and_cloud/9781787128712/10/ch10lvl1sec51/scrip...

after going throw this please mark it as correct/helpfull.

Thankyou.

 

View solution in original post

7 REPLIES 7

Priti Golam1
Tera Expert

Hi Keen,

Script actions are server-side JavaScript code that is executed when an event 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.

Kindly refer the below link

https://docs.servicenow.com/bundle/madrid-platform-administration/page/administer/platform-events/re...

Kindly mark helpful or correct if u find my answer helpful.

Thanks,

Priti

Shrutika Surwad
Kilo Guru

hey keen,

script actions are use 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.

 

for more details follow below link

 

https://docs.servicenow.com/bundle/madrid-platform-administration/page/administer/platform-events/re...

 

Please mark Correct! so that other people also get correct answer.

thanks,
Shrutika Surwade

find_real_file.png

 

 

Omender Singh
Tera Guru

Hello,

You can find the detailed explanation of the script action in the below link:-

https://servicenowspectaculars.com/what-is-servicenow-script-action/