If opened for is VIP then only that field should be visible on At a Glance .

nikhitha24
Tera Guru

Can someone please help meon below query.

 

I have written UI policy for HR agent workspace If opened for is VIP then only that field should be visible, If opened for is Non VIP ,then field should be hide not visible, It is working as expected.

nikhitha24_0-1691720092746.png

nikhitha24_1-1691720133100.png

 

 

 

Could you please tell is the same functionality will work on the At a Glance also? I have tried it is not working,

My Query is below

If opened for is VIP then only that field should be visible on At a Glance .

If opened for is Non VIP ,then field should be hide not visible on At a Glance

Please help me if any another possibility if it works.

 

1 REPLY 1

michaelj_sherid
ServiceNow Employee
ServiceNow Employee

@nikhitha24 There is an OOtB script include - hr_atAGlanceUIBUtilsSNC that has this logic within. You will see there is an empty script include -hr_atAGlanceUIBUtils that allows you to enter in your custom code to extend the SI I mentioned earlier. In the OOtB script include, you will see the logic used for the Subject person, you will just have to update this to meet your use case (within the hr_atAGlanceUIBUtils) . I would caution this customization because it may be difficult to differentiate when you want to use the Opened For or the Subject person to be set in the At a Glance. In short, you are straying away from how we look at the case people and what details are displayed for that individual.

 

I hope this gives you some direction. We are always happy to help.

 

Regards,

Mike