What happens when calling a URL like /sys.scripts.do?action=run_module&sys_id=<SYS_ID> ?

Aaron Munoz
Tera Guru

On a Knowledge 19 lab for MetricBase, at one point I had to use the following link:

https://ccw0446a-113.lab.service-now.com/sys.scripts.do?action=run_module&sys_id=58a6604513255300178e7f176144b0f6

I don't quite get what happens in the background for a URL formatted like this.

1 ACCEPTED SOLUTION

Found it.  It is literally running a script that is defined in a module.  Create a module:

 

find_real_file.png

Get its sys_id, feed it into that parameter, and run it.  It will run the script that is in the arguments.

find_real_file.png

 

View solution in original post

5 REPLIES 5

Thanks Mike. I couldn't find documentation mentioning this functionality.