- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā11-15-2020 06:53 AM
Hi.
I“m trying to make a record producer where the users can check a field and then and only if that checkbox is marked then it should show more options / fields.
If the checkbox "create wish" is choosen then it should show the next 3 fields that only has something to do with that.
Hope someone can help.
Best regards
Jess
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā11-15-2020 07:27 AM
For simpler logic such as variable readonly, visibility and mandatory you can use Catalog UI Policies.
For complex logic use onChange client script
Create a Service Catalog client script
Regards
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
ā11-15-2020 06:55 AM
Did you tried Catalog UI Policies.
You have to create a UI Policy on the create wish on variable.
Example
Reference Document
https://docs.servicenow.com/bundle/newyork-it-service-management/page/product/service-catalog-management/task/t_CreatUIPolicyForSvcCalgIt.html#t_CreatUIPolicyForSvcCalgIt
Regards
Pranav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā11-15-2020 07:27 AM
For simpler logic such as variable readonly, visibility and mandatory you can use Catalog UI Policies.
For complex logic use onChange client script
Create a Service Catalog client script
Regards
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
ā11-15-2020 09:34 AM
I have tried to use the Catalog UI policy but it does not seem to work regardless of what settings i choose. I have in this poast the settings that I am currently testing, but when checking the box in the record producer item it“s not showing the fields:
I hope you can guide me in the right direction or help me to figure out what I am missing.
I was trying the catalog UI policy before your post but thought I was looking in the wrong place since nothing works.
Best Regards
Jess
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā11-15-2020 08:31 PM
Hi,
condition looks fine.
Are you using the correct variable name in the UI policy action
Regards
Ankur
Ankur
⨠Certified Technical Architect || ⨠9x ServiceNow MVP || ⨠ServiceNow Community Leader