- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2022 09:25 PM
I am creating 1 record producer to Incident table. There are some variable in this catalog.
What I need to do is to create UI Policy if Incident state is in Resolved, the variable field must be mandatory to fill in.
I cannot set the condition on Incident state, I could see only variable field. Anyone can help?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2022 10:42 PM
Hi,
you have not read my earlier response.
You need to create normal client script on incident table and not catalog client script and then use script I shared
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
‎03-29-2022 10:38 PM
I thought about this way, but unfortunately that in UI Policy Actions, I could not go to variable I need to set as mandatory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2022 10:42 PM
In that scenario you need to go with OnChange client script. Create a onchange Client script on incident table.
Let me know if you stuck anywhere