Vishal Birajdar
Giga Sage

Hello Alon Grod,

 

When you click on "Resolve" button the "state" field get set to "Resolved".

You can just create "UI Policy" on incident table with condition "State=resolved" and create UI policy action to make other fields mandatory.

Here in my case I have made description field mandatory if we click on "Resolve"

 

VishalBirajdar7_0-1693807870170.png

 

Output :

When state is not resolved ,Description is not mandatory

 

VishalBirajdar7_3-1693808105000.png

 

 

When I click on Resolve button description is mandatory.

 

VishalBirajdar7_2-1693808070494.png

 

 

Hope this will help you..!!

 

 

 

 

Vishal Birajdar
ServiceNow Developer

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