Inactive approvers are showing in change and requests

chinna
Mega Guru

Hi All,

I want to hide the inactive users before it moves to the approval section.

for example if the user is inactive in snow,we want to hide the user in the change request approval section and service request approval section.

 How can i acheive this? if we need  to write a glide query on sys approval table.

can anyone share the script

 

Thanks ,

Chinna

 

6 REPLIES 6

Tj14
Tera Contributor

Approvers are generally set from the respective workflows - either from CHG or REQ. The only way I see this is to open those workflows and check who the approvers are set to.

If the approvers, set in the workflow are inactive replace them with the active approvers. you should be able to route it to the active users now

 

 

click correct, if you find it helpful

Hi Tj,

 

actuallly that change task assigned to me, approvers should be our group members in access stage,

but 1 member is inactive user in that group,but still in approvers its showing his name.

i want to remove the that inacive user from approvers list.

 

Regards,

chinna

Tj14
Tera Contributor

In that particular approver group put a condition saying Active--> True this should display only the active ones

Nitin_NOW
Tera Guru

Hi 

You can write a before Insert Business rule on Approval table to check the inactive approver's/users. Once the request is submitted, the BR queries the state of the approver and if it finds as inactive, you can generate approval to next level manager i.e. to inactive user's/approver's manager. In this way there would be no approval sent if the approver is inactive. 

Please hit correct based on impact of response.

Thanks