Change Approval - Disable Self Approval

JohnnySnow
Kilo Sage

Hi Team,

 

We are on Washington release and we are using change approval policies. We have a requirement to make sure that the person who is the 'assigned to' of a change request shouldn't be able to approve his own request (in OOTB instance, this can happen during the technical approval).

JohnnySnow_0-1725258131596.png

 

I know that we can handle this via BR on the sysapproval_approver table. However, the issue is that the notification is already triggered to the group and its member. Instead of this, is there a easier and cleaner way of doing, so that I can control to whom the approval should be triggered?

 

I can see there is a policy input field on the Change approval wf activity, but I guess we can only handle the policy inputs here. I tried something like this in the policy input but that didnt work.

JohnnySnow_1-1725258296109.png

 

Does anyone know how can I handle this?

 

Thanks
Johnny

Please mark this response as correct or helpful if it assisted you with your question.
1 ACCEPTED SOLUTION

JohnnySnow
Kilo Sage

Just an update that I couldn't figure out a way through the change approval policies and I think it wouldn't be possible as the answer field (or change approval definition) on the change approval policy accepts group or user and there is no way to script anything.

 

Hence I ended up creating a Before insert BR and it works exactly as I wanted (i.e. We trigger the approval to the group but if the person who has raised the request or the assigned to won't be able to self approve the request)

 

the condition on the BR is 

JohnnySnow_0-1725406126389.png

 

and the action is

 

JohnnySnow_1-1725406143776.png

 

 

Thanks
Johnny

Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

3 REPLIES 3

JohnnySnow
Kilo Sage

@Ankur Bawiskar @Mark Roethof any idea?

Thanks
Johnny

Please mark this response as correct or helpful if it assisted you with your question.

I'm sorry, I'm not into Workflow anymore and something like this would cost me too much time to look into.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

JohnnySnow
Kilo Sage

Just an update that I couldn't figure out a way through the change approval policies and I think it wouldn't be possible as the answer field (or change approval definition) on the change approval policy accepts group or user and there is no way to script anything.

 

Hence I ended up creating a Before insert BR and it works exactly as I wanted (i.e. We trigger the approval to the group but if the person who has raised the request or the assigned to won't be able to self approve the request)

 

the condition on the BR is 

JohnnySnow_0-1725406126389.png

 

and the action is

 

JohnnySnow_1-1725406143776.png

 

 

Thanks
Johnny

Please mark this response as correct or helpful if it assisted you with your question.