How to restrict the visibility of the knowledge articles on the hr service portal based on the field values on the HR profile of the logged in user

Vidya Shree2
Mega Contributor

How to restrict the visibility of the knowledge articles on the hr service portal based on the field values on the HR profile of the logged in user.

For Example : we have a field in HR profile by name "Employee Status".If i have to restrict the visibility of the knowledge article only if the logged user hr profile "Employee status"  is "retired" .How can i achieve this requirement?

i tried HR criteria and user criteria but it is working.

1 ACCEPTED SOLUTION

michaelj_sherid
ServiceNow Employee
ServiceNow Employee

Hi Vidya,


As of the Kingston release we support HR Criteria in User Criteria. In your use case you would create HR Criteria to use the condition of Employee Status = Retired. When you save that HR Criteria, the system will automatically create the corresponding User Criteria that can be used in Knowledge. Remember that Knowledge leverages User Criteria, so this is a viable option to meet your use case.

Regards,

Mike

View solution in original post

14 REPLIES 14

michaelj_sherid
ServiceNow Employee
ServiceNow Employee

Hi Vidya,


As of the Kingston release we support HR Criteria in User Criteria. In your use case you would create HR Criteria to use the condition of Employee Status = Retired. When you save that HR Criteria, the system will automatically create the corresponding User Criteria that can be used in Knowledge. Remember that Knowledge leverages User Criteria, so this is a viable option to meet your use case.

Regards,

Mike

Hi Mike,

 

 

Thanks for your reply.

i tried HR criteria but that is also not working.Looks like i have made some mistake in the creation HR Criteria.

which table  should i give in the "table" field on the HR criteria form and "table " field on the HR Conditions form?

 

 

Thanks,

Vidyashree

Hi Vidyashree,

The Table should be the HR Profile and the User column should be User as seen below.

find_real_file.png

find_real_file.png

Regards,

Mike

Hi Mike,

 

should it be same(HR Profile) on both HR criteria form and HR condition form?

 

 

find_real_file.png

find_real_file.png