- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 12:27 AM
Hi @Sumanth16
Hi @Community Alums
I've now made two UI Policies:
Whilst it does make the field Read only when it correctly should, it's not adding the value of 'Not Applicable'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 07:06 AM
Hi @matthew_hughes ,
It's because, you are using 2 things at the same time, which is a script and "Catalog UI policy actions" simultaneously.
You need to understand :
| Execute if true [Advanced view] | A script that executes when the conditions of the UI policy are fulfilled.
|
| Execute if false [Advanced view] | A script that executes if the conditions of the UI policy are not fulfilled and the Reverse if false option is selected.
|
Now, if you are using the above scripts, and it fulfils your requirement, then don't use "Catalog UI policy actions", make it active false.
As per you screenshot, the Catalog UI policy actions is working not the script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 12:27 AM
Hi @Community Alums
I've now made two UI Policies:
Whilst it does make the field Read only when it correctly should, it's not adding the value of 'Not Applicable'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 09:17 PM
Hi @matthew_hughes ,
Please read through this doc : https://docs.servicenow.com/bundle/washingtondc-servicenow-platform/page/product/service-catalog-man...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 07:41 AM
All experts already answered, i am new to script and I thought the NOT applicable should be replaced by value.
Regards
Dr Atul G. - Learn N Grow Together ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
******************************************************************************************