Related to Service catalog on visibility and mandatory fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
In my service catalog, i have two select box field, for eg, 1 . is categery which has two options anad 2. is sub category which has 5 options.
now based on these conditions , the form visiblity and mandatory should work according.
Like it becomes 10 conditions on this, most of the variables are common and its visibilty and mandatory works on different cases.
I worked with UI policy and Client scripts and it is not working as expected.
How can I achieve this, and variables whose visibilities I need to do has almost 12 -1 5 variables.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi @varshajain
Could you share the snippet of the code
Thank you
Eshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi @varshajain ,
I think you should go with UI Policy, and in UI Policy you can check the checkbox "reverse if false", if someone select other option then your UI Policy's condition false. Also try to give proper condition for category and sub category.
Please mark my answer correct and helpful if this works for you
Thanks and Regards,
Sarthak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago - last edited 2 hours ago
Hi @varshajain
Can you please share what all things you have created to achieve these?
Please appreciate the efforts of community contributors by marking the appropriate response as the correct answer and helpful. This may help other community users to follow the correct solution in the future.
********************************************************************************************************
Cheers,
Prashant Kumar
ServiceNow Technical Architect
Community Profile LinkedIn YouTube Medium TopMate
********************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
