Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to run script include asynchronously

bonsai
Mega Sage

※Paris version

I want to execute a script created by script include multiple times in parallel.

 

I would like to call and implement the script of script include in the job schedule.

 

I haven't created a concrete script yet, but is it possible to execute scripts with the same content in parallel?

 

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

Hi there,

If for example you have a async business rule which calls a script include, then then the script include is asynchronously.

Kind regards,
Mark
2020, 2021 ServiceNow Community MVP
2020, 2021 ServiceNow Developer MVP

---

LinkedIn
Community article, blog, video list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

6 REPLIES 6

Hi,

Can you explain your complete use case what are you trying to achieve, may be there can be a better way community members can assist you with a better solution.

 

Regards,

Shloke

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

thank you. The information I want most now is a script that executes a script include by passing parameters, and a method of using the parameters in the called script include. I'm sorry, but it's difficult to teach specific use cases.