Dropdown values not appearing for a variable in ATF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 02:28 AM
Hi,
I am trying to create an ATF script to order an item from Service Portal. There is one mandatory variable which needs to filled to order an item. The choice list of variable values are not coming up for that variable.
I have tried using the "set component value (Custom UI)" step but no luck.
Please help me in resolving the issue. Refer the below screenshot to understand the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 02:43 AM
it's a variable in catalog then why not use Set Variable Value step?
Is it an html select box? what type of variable it is?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 03:40 AM
It is a custom created page. So we cannot use set variable value(sp)
Tried that step too just to be sure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 03:49 AM
then unless and until you find it in Custom UI step i.e. the html element you cannot proceed.
try to retrieve the components again and see if you see the choices
If you could not retrieve it even after trying 3-4 times then don't proceed with the ATF for this scenario
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader