Accessing Script Include and Glide System Variables in Mid Server Script Include

Milind
Kilo Contributor

Hi,

I am writing a Mid Server Script Include class, and I am trying to access a class from Script Include (System Definitions => Script Include) from it, but is is giving me an error. Similarly I cannot access the Glide System variable in the Mid Server Script Include. I can access Glide Record,Glide Aggregate classes in there, but is there any way to access these classes in the Mid server script Include?

Thank you.

--

Regards,

Milind Wakale.

1 ACCEPTED SOLUTION

Hi Milind,



When you are calling this mid server script include send a parameter and get that value in mid server script include.




Regards


Ankur


Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

5 REPLIES 5

Hi Shaishav,

 

you can create a element and place the value and return to the ServiceNow.

probe.createElement("YourTagName", "TagValue");

 

have a business rule on ecc_queue table and parse the input payload xml and get the tag value

 

Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
Ankur

 

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader