Same user cannot approve change request again in 2nd level approver

Harsha Pandey
Tera Expert

Hi,

Customer requirement is that same user should not be able to approve change request again or I can say in 2nd level approval.

I had gone through community and found out post https://servicenowguru.com/scripting/business-rules-scripting/prevent-redundant-approval-requests-servicenow/

I tried this with one more condition as current.getTableName('change_request') as I need it to to run for change_request but did not work.

Please help me out!!

1 ACCEPTED SOLUTION

Hi,

your requirement is to make it work only for change_request table and hence it would only run for those approvals

Won't impact any other table

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

15 REPLIES 15

Hi,

your requirement is to make it work only for change_request table and hence it would only run for those approvals

Won't impact any other table

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Thanks a lot!! I have posted one more query.. can you please look into that too?

https://community.servicenow.com/community?id=community_question&sys_id=061148f9db6b85d05205e6be139619b5

If incident is unassigned to a group then only caller of incident see cancel choice in state but if incident is assigned to a group then only group member can see cancel choice in state.

 

Hi Ankur, Could you please help me with this? I have posted this on community. https://community.servicenow.com/community?id=community_question&sys_id=061148f9db6b85d05205e6be139619b5 If incident is unassigned to a group then only caller of incident see cancel choice in state but if incident is assigned to a group then only group member can see cancel choice in state.

Hi Ankur,

 

Good day and I hope you are well.

 

I am looking for similar function but both the BR does not seem to have effect. Same approver is able to approve twice, because the user is a member of the 2 approval groups.

 

This function seems to be the best but sadly it does not work.

 

Regards,

Chin4

I tried to use Approval Coordinator but it only hides the user for 2nd approval. If the user approves, both the user's Request were also approved.