What is the purpose of the Status field on sys_user_has_role?

Robert C
Mega Contributor

We have been doing some role cleanup review and noticed that some of the entries on sys_user_has_role were in the state of "Pending Approval". I have been looking through documentation but don't see anything that discusses the purpose of this status for roles? Could anyone point me to to a doc that would clarify the intent of this status for roles? Is there an approval somewhere that needs to be processed? I checked for a rule or script, but didn't see anything that would perform such an action.

1 ACCEPTED SOLUTION

There is an assignment rule for that role OOTB - https://docs.servicenow.com/bundle/rome-employee-service-management/page/product/workplace-safety-mg...

 

You might not have the job running switch is probably the reason they are in the "pending approval" state.

View solution in original post

7 REPLIES 7

Miguel Donayre
ServiceNow Employee

Hi,

Are the pending approval users for the same role?

 

Hello Miguel, yes the Pending Approval items are for the same role.

There might be a workflow in place for that role... can you share what the role is?

sn_wsd_core.workplace_user