Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

In RITM view , field is not mandatory

tulasi8
Tera Contributor

Hi Community,

 

in catalog view a variable is mandatory but in RITM view , that variable is not showing as mandatory star mark . how to make mandatory in requested item view . Can anyone please help on this .

@Ankur Bawiskar . 

tulasi8_0-1787219882868.pngtulasi8_1-1787219907285.png

 

 

 

11 REPLIES 11

can u share catalog ui policy screen shot for this?

****************************************************************************************
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
******************************************************************************************

In the above  2nd screenshot itself is the catalog ui policy @Dr Atul G- LNG 

Hi, OOTB this only makes the Catalog Item view mandatory, not the RITM. You may need to write a Client Script to achieve this. This is the expected OOTB behaviour.

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB2441145

 

Issue

A catalog variable is made mandatory by a catalog UI policy, but after ordering the item, if you look at the list of variables in the RITM record, the variable is not displayed as mandatory (the * is missing).

Release

Not release specific

Resolution

This is the expected behavior if the current user doesn't have write access or is not admin.

The form is loaded first, and if the variable is read-only for the current user, then the UI policy cannot apply the "mandatory" setting.
That means that variables that are defined as mandatory will have the *, but the variables that are made mandatory by a UI policy will not have the * displayed.

The admin role bypasses this behavior.

****************************************************************************************
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
******************************************************************************************

@Dr Atul G- LNG even it is a expected behaviour , we need to make mandatory in ritm view also, how to achieve it ?

I doubt it, mate. We may need to create the UI Policy, as there is a specific View field that could be affecting this. It might work if we configure it correctly. Give it a try, mate.

****************************************************************************************
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
******************************************************************************************