- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2017 04:15 AM
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.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2017 04:56 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2018 02:42 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader