Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Is it possible to call a script include within another script include?

SravanK11377255
Tera Contributor

<p> Hi everyone,

I have recently completed my CSA and stepping into theCAD, so can anyone just tell me that is it possible to call one script include in another script include.if it is can anyone explain me and share me the examples aswell to autopopulate anything. </p>

2 REPLIES 2

GlideFather
Tera Patron

Hi @SravanK11377255,

 

yes it is possible, you can check any existing script includes in your PDI and you will find it there.

 

My advice for you - the best possible method of learning new things is to go to your PDI and try it on your own, I can guarantee you that you will then remember it more easier than reading yes or no from a stranger on the internet ;)))

_____
Answers generated by GlideFather. Check for accuracy.

Tanushree Maiti
Kilo Patron

Hi @SravanK11377255 

 

Yes, you can absolutely invoke one Script Include from another in ServiceNow. Because Script Includes run as server-side , it  can communicate with each other just like other server-side components. 

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: