- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2017 02:42 AM
Dear All,
I would like to know how can I get the value of item_option_new.name? I want to get the Date (Question: Employee Start Date).
Thanks.
Best regards,
Ling
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2017 10:06 PM
Hi Ling,
Yes it will give you the Text for the Question of the variable.
i.e. it will give values such as 'Employee Start Date', 'Employee's Name', 'Employee Team'
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2017 10:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2017 11:07 PM
Hi,
var set = new GlideappVariablePoolQuestionSet();
set.setRequestID('23432ec74f6103008fb73ce18110c792');
set.load();
var vs = set.getFlatQuestions();
for (var i = 0; i < vs.size(); i++) {
gs.print(vs.get(i).getName());
}
use the above script and pass in the sys_id of your request item.