Issues with fields on catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited yesterday
Hi Experts,
i have a field 'Request Type' on my catalog item , which is a dropdown, based on the request type we are showing and hiding the fields , and for one choice option of request type is udl changes , if i select that it should show me the mandatory and non mandatory fields , but instead on first selection it shows only mandatory fields and then changing other option and if the select udl changes option again then it is showing all the fields which are needs to be shown , i have written ui policy and configured ui policy actions for these , but if i select udl changes option , can let me know how this can be fixed, below i am attaching SS , on first selection it shows mandatory and then selecting again it shows
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
17 hours ago
your question is not clear.
Please phrase this properly along with the catalog UI policy condition etc
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
16 hours ago
from the screenshot request type is drop down field , when i select initially "UDL changes" option , it only shows mandatory fields ,(as shown in picture 1) , when i again change the request type to some other and then again select "UDL changes" then at the time all the fields are shwowing , but not the first time.
into the script i have shared , there are the other variables too i have to hide for that particular request type because in this catalog item i have used 4 variable sets and hiding the variables which are not required for this request type
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
16 hours ago
make sure onLoad checkbox is True on your catalog UI policy if the drop down has a Default value of UDL changes when form loads
Also ensure Reverse if false is checked so that the reverse action happens in UI policy.
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
16 hours ago
yea those changes are already there , but udl is not default , NONE is default but when i change it from none to default it only shows mandatory fields , for the second time it is showing the all the fields that are supposed to be displayed , is this anytrhing with the servicneow behaviour
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
16 hours ago - last edited 16 hours ago
here i ahve shared my query again , can u siggest any modifications
