- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 12:26 AM
Hello Everyone,
This is regarding one of my requirement 🙂
I want to use one of the variable value which is in one of the function in script include.
I want to use this variable value in another function which is in the same script include.
How to call one function to another function in the same script include and how to use the variable value of one function to another function in same script include.
Also , the variable value is getting returned to the glide ajax call in the function and I want to use the same variable value in another function in same script include.
Script include is the Client callable one.
Please help with the logic and code.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 07:31 AM
unless Test function returns this you cannot access it
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-27-2023 07:31 AM
unless Test function returns this you cannot access it
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2024 09:25 PM
Hi Dinesh,
We can store varaibles in property objcet like(this.variableName)
Example:
If my solution is correct, please mark as Helpful
Regards,
Keshav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 08:14 AM
@Ankur Bawiskar Thanks Ankur it worked