How to locate the UI Policy which makes a field Mandatory

Rob Rhodes
Tera Contributor

Hello

I have a question about UI Policies.

I have a field called "Configuration Item" which is located in the "Task" table and has the column name "cmdb_CI". In it's Dictionary Entry, the Mandatory check box is not checked however on the form the field displays as required (see attachments).

I believe this is due to a UI Policy that is setting this field to Mandatory.  However, I have had no luck finding the appropriate UI policy which leads me to believe I am not looking in the right place.

I am currently looking under System UI, UI Policies.  Is there another place I should be looking?  Is there an easier way to identify (or search) for a particular field across UI Policies?

Thanks

 

 

 

 

1 ACCEPTED SOLUTION

Yes sure thing -- this ServiceNow doc does a good job of explaining update sets and how to use them: https://docs.servicenow.com/bundle/tokyo-application-development/page/build/system-update-sets/concept/update-set-procedures.html

If this answer is helpful please mark correct and helpful!

Regards,

Christopher Perry

If this answer is helpful please mark correct and helpful!

Regards,
Chris Perry

View solution in original post

5 REPLIES 5

Yousaf
Giga Sage

Hi Rob,

Write table_name.config in application navigator or do this and check all the configurations on the table.

It seem like there is a client script making that field mandatory so check client script tab too.

find_real_file.png

 

Mark Correct and Helpful if it helps.


***Mark Correct or Helpful if it helps.***

chrisperry
Giga Sage

Hi there,

Looking at the UI Policy Actions table to see the individual field configurations from UI Policies is probably easier.

To get there, type sys_ui_policy_action.list into your filter navigator and hit enter, this will bring you to the table list view for UI Policy Actions, which you can then filter down for Table = change_request, and Field name = cmdb_ci as below. 

Assuming your Change Request stuff isn't customized, it is likely this OOB UI policy that is making the Configuration item field mandatory on change requests:

find_real_file.png

If this answer is helpful please mark correct and helpful!

Regards,

Christopher Perry

If this answer is helpful please mark correct and helpful!

Regards,
Chris Perry

Rob Rhodes
Tera Contributor

Thank you both for your reply.  I was able to make the required change.

If I could ask another question ...  Since this is a small change, I made it manually in Prod.  However, I realize the best practice would be to perform this change in Dev first then promote it to Prod.  Can you direct me to a resource/reference that outlines the steps in promoting such a change (from Dev to Prod)?

Thanks Again    

Yes sure thing -- this ServiceNow doc does a good job of explaining update sets and how to use them: https://docs.servicenow.com/bundle/tokyo-application-development/page/build/system-update-sets/concept/update-set-procedures.html

If this answer is helpful please mark correct and helpful!

Regards,

Christopher Perry

If this answer is helpful please mark correct and helpful!

Regards,
Chris Perry