One of My Form Variable is Showing as Mandatory on the RITM Even Though it isn't on the Form

cwolfe01
Giga Guru

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?

1 ACCEPTED SOLUTION

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.

 

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates

View solution in original post

6 REPLIES 6

I've done that, but now the asset tag variable is showing when the form loads

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.

 

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates