GlideappVariablePoolQuestionSet getFlatQuestions is not returning all variables that have a value and are visible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2020 08:22 AM
Good day,
I am using the form widget with sc_task as the table parameter to display the task information and catalog item variables. The form widget uses the sp_variable_editor widget to display the variables which uses GlideappVariablePoolQuestionSet.getFlatQuestions() to retrieve the variable data. All variables that have a value and are visible are not in the results of the getFlatQuestions. I cannot find the script for it or anything but sparse documentation to investigate why.
Please let me know where I can find the GlideappVariablePoolQuestionSet script or any detailed documentation or any suggestions for how to solve this issue.
Thank you very much in advance!
Janet Grace
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2020 10:24 AM
Hi Janet,
below links should help you
https://jace.pro/post/2018-02-15-print-out-variables/
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader