and more in a single search tool across platforms. Read the announcement here. |
11/07/2023 09:08 AM
Hello Everyone,
We have defined workflow where if user request for some role R1 then the request will go for
1. Manager Approval
2. Application Owner Approval (Access Approval block with owner Having Rank 1)
3. Resource Owner Approval (Access Approval block with owner Having Rank 2)
Issue -
When user (having manager as M1) requests for any role for endpoint E1, first the request is going for manager approval (M1) but it is still going for M1 for the approval [since M1 is added as Owner (Having Rank1) for the Role]. so want to skip Application owner approval and go for Resource owner if Manager and Application Owner (Owner Having Rank 1) is same user.
Anyone please suggest what can we do this to achieve this use case?
Thank you
11/07/2023 09:12 PM
Hello @harishyara,
You can try using the if-else block after manager approval in the workflow.
entitlement.getOwnerRank1().contains(manager.username) eq true
entitlement.ownerRank1.contains(manager.username)
Thanks.
11/17/2023 06:38 AM
I tried above configs but still it is going to same person twice for Approval. (here Manager and App Owner Having Rank1 is same person)
Regards,
Harish
11/17/2023 06:58 AM
@harishyara : Are you using Serial WF or Parallel WF? Can you share the WF Screenshot? Also for resource owner approval why are you using Access Approval block instead of Resource Owner Approval block? Are you assigning resource owner as well the owner of role with rank2?
11/17/2023 11:41 AM
Hi @Saathvik - I am using Parallel workflow. I used Access Approval Block tied with Owner Having Rank1 (2nd Level of Approval) and again for 3rd level I used Access Approval with Owner Having Rank2.
Please find below screenshot of workflow.
11/17/2023 11:56 AM
@harishyara : So if I go to respective entitlement/role, I will see two owners assigned, Application owner as Rank1 and Resource Owner as Rank2?
entitlement.getOwnerRank1().contains(user.manager.username) eq true
or
entitlement.getOwnerRank1().contains(user.manager) eq true
11/18/2023 02:18 AM
Hello @harishyara
if you want to skip approval you should send to accept after if-else block only in the workflow.
please modify it and try.
Thanks
11/19/2023 07:03 PM
11/19/2023 10:52 PM - edited 11/19/2023 10:53 PM
12/13/2023 08:49 AM
Hi @Rajesh-R I changed Configs as per your suggestion, it's now working but need to achieve below scenarios -
1. If Manager and Entitlement Owner having Rank1 is same then After Manager Approval, New Account and Add Access both should go to ResourceOwnerApproval block to approve.
2.If Manager and Entitlement Owner having Rank1 is different then After Manager Approval, New Account and Add Access both should go to ApplicationOwnerApproval block to approve, if app owner approves then New Account and Add Access both should go to ResourceOwnerApproval block to approve.
Please help here to make it work.
12/13/2023 06:59 PM
Instead of access of access approval block use custom assignment block
12/13/2023 10:01 AM
You can use the following condition in your wf after the manager approval is completed
entitlement.getOwnerRank1() eq user.manager