Updating Create Incident Fields and UI Policy

OyugiK
Tera Contributor

Hi Everyone,

 

How can I create a UI Policy, to make the Assigned to field mandatory for all States values except "New" or "Canceled" when creating an incident.

 

I am getting an error related to :

Please validate you have set the Assigned to UI Policy condition(s) and Policy Action(s) apppropriately. Hint: Consider using 'is not one of' in your reference qualifier. 
Please validate you have created the Policy Action(s) apppropriately. 

 

 

1 ACCEPTED SOLUTION

Sandeep Rajput
Tera Patron
Tera Patron

@OyugiK You can build the condition like following using not one of operator,

 

Screenshot 2024-09-30 at 10.52.17 PM.png

View solution in original post

6 REPLIES 6

Hemanth M1
Giga Sage
Giga Sage

Hi @OyugiK ,

 

Can you try is not one of as below and select new and cancelled

and also make sure to check reverse if false to make assigned to field not mandatory when this condition is not me

HemanthM1_0-1727716424044.png

 

Hope this helps!!!

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

Anantha Gowrara
Kilo Sage

@OyugiK change your policy condition as below and make sure reverse if false is checked

 

AnanthaGowrara_0-1727716652360.png

 

 

AnanthaGowrara_1-1727716673977.pngAnanthaGowrara_2-1727716705174.png

 

Sandeep Rajput
Tera Patron
Tera Patron

@OyugiK You can build the condition like following using not one of operator,

 

Screenshot 2024-09-30 at 10.52.17 PM.png

OyugiK
Tera Contributor

Thanks guys, it works. Would you also have an idea how to disable categories and where to add sub categories when modifying the create incident form @Sandeep Rajput @Anantha Gowrara @Hemanth M1