- 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 02:47 AM
Hi Ling,
This should give you the label i.e. the question text associated with the variable
g_form.getLabelOf("<variablename>");
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 06:13 PM
Dear Ankur Bawiskar,
How can I get the variable name? is Employee Start Date or Date? or others?
Thanks.
Best regards,
Ling
- 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:53 PM