Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Passing data to Scheduled Script

jcanuel
Kilo Explorer

Hi

I am triggering a Scheduled Script from a UI Action using SncTriggerSynchronizer.executeNow.

Is it possible to pass data to the Scheduled Script ?

Thanks

5 REPLIES 5

You could also try, from your script, to create a scheduled job.   It's the long way around, but then the before insert/update/delete rule would run the SncTriggerSynchronizer.synchronize(current); that you are probably referring to.



I too am trying to make this happen, but I need to pass some additional parameters, but if you could script the values into a Scheduled Script record correctly, it should set you on your way.



ws