02/10/2023 02:14 AM
Hi Experts,
Please help
We have a scenario where if 5 people are part of an approval group and 1 of the 5 creates request, which should come to the group for approval, requestor should be excluded as approver of that request and other 4 members of the approval group should be able to approve the request.
Please can you guide as how we can achieve this?
Regards
Naveen
02/10/2023 06:09 AM - edited 02/10/2023 06:09 AM
If you are using custom assignment block to assign group approval then by default it will assign the approval to remaining owners if no other owners exist then it will send it to admin.
Are you seeing different behaviour? What is block you used to send approvals to a group?
02/10/2023 06:16 AM
Thanks for you reply @sk
We are using Custom Assignment with User Group option. But even if the group member is requestor, requestor is assigned to the requestors as well with rest of group members.
Regards
Naveen
02/10/2023 06:31 AM
Sorry I didn't quite understand below statement. Are you saying approval is still being sent to requestor along with other owners or it is getting auto approved without sending approval to other owers?
But even if the group member is requestor, requestor is assigned to the requestors as well with rest of group members.
02/10/2023 06:52 AM
Apologies for the confusion, yes request is getting auto approved
02/10/2023 07:08 AM
Can you please share the query used in custom block?
02/10/2023 04:31 PM
Instead of Usergroup use customquery in select field of custom assignment block
04/13/2023 04:36 AM
Hello all,
I'm also facing the same issue, I replaced usergroup with customquery but still request is getting auto approved if the requestor and approver are same.
Thanks,
Chirag Gupta
04/13/2023 04:47 AM
04/13/2023 06:12 AM
Try to use query in usergroup section example like below
select userkey from entitlement_owners where entitlement_valuekey=${REQUESTACCESSOBJ.id} and rank = 1