Mandatory field

KouassiP
Tera Contributor

Hello All , 

I have a mandatory field in a task of an item .

The fact is this field can only be filled after a treatment and often by another team .

Is it possible to set this field free during an assignment to a team and set it mandatory when we want to close the task ?

 

9 REPLIES 9

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @KouassiP Yes, you can use a UI Policy to enforce this and make the field mandatory when the group is 'XYZ'. However, if a value is already populated in the field, the mandatory indicator might not appear.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Ankur Bawiskar
Tera Patron
Tera Patron

@KouassiP 

you can make that field mandatory on change of State when it's marked as Close Complete.

what did you try so far and where are you stuck?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

how can i do that ?

Nikhil Bajaj9
Tera Sage

Hi @KouassiP ,

 

It can be easily achieved using UI Policies. You can set conditions based on state ex:- Field mandatory when State is <something> or group is <something>. Field non mandatory again - based on condition of state.

 

Please appreciate my efforts, help and support extended to you by clicking on – “Accept as Solution”; button under my answer. It will motivate me to help others as well.
Regards,
Nikhil Bajaj