- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2023 07:57 AM - edited 09-29-2023 08:22 AM
I have a form with the following variables:
- asset_tags(List Collector)
- asset_is_not_listed(CheckBox)
- asset(Single Line Text)
The variables asset_tags & asset_is_not_listed are only shown to the user when they choose an option other than none for the variable request_type. When asset_is_not_listed is checked, asset_tags is made non-mandatory, and asset is made visible & mandatory.
When I go to submit a request where asset_is_not_listed is checked, the asset_tags variable is still showing as mandatory on the RITM even though it is made non-mandatory on the form. On the RITM, I can uncheck, then recheck asset_is_not_listed, and then asset_tags will be marked non-mandatory, but I want it to be non-mandatory on submission. How can I fix this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2023 12:20 PM - edited 09-29-2023 12:31 PM
Dumb me....!!
You can put second ui policy as it is previously.
Make mandatory as leave alone for UI policy action of asset tags from first Ui policy.
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2023 12:11 PM
I've done that, but now the asset tag variable is showing when the form loads
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2023 12:20 PM - edited 09-29-2023 12:31 PM
Dumb me....!!
You can put second ui policy as it is previously.
Make mandatory as leave alone for UI policy action of asset tags from first Ui policy.
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates