Click HERE to see how Saviynt Intelligence is transforming the industry. |
10/13/2023 08:49 AM
Hi,
We are looking to create a workflow that allows the following scenario:
"When a role is requested, the approval request must go out to all owners with Rank1 and any one of them should be able to approve. If no one approves for a certain amount of time then the request must go out to Rank2 owners and ANY of them must be able to approve the request."
Please see the workflow below:
Test Results:
This workflow sends the request to the Rank1 Owners and after 35mins, its status changes to Escalated but the request never went out to Rank2 Owners. It auto-created the tasks in the pending state.
Any suggestions on how to fix this? Please advice.
10/13/2023 10:10 AM
@smadabh may I know the purpose of if- else block in workflow as both true and false nodes connected to same.
10/13/2023 11:53 AM - edited 10/13/2023 11:55 AM
I have replicated the workflow and it worked as expected. Waited for 35 Mins and request got escalated to next approver. Approved by next approver and task got created. Post approving the task, it shows access granted.
Please refer to below screenshots. Please try again and also check the request history if it shows any issue there.
Request history screenshot:
Workflow screenshot
Regards,
Dhruv Sharma
If this reply answered your question, please accept it as Solution to help others who may have a similar problem.
10/13/2023 01:51 PM
@Dhruv_S : Escalation block is sending approval to all owners right? @smadabh Requirement is to send it to Rank2 Owners. Were you able to validate with same?
@smadabh : Do you have any Rank 2 Owners assigned to respective entitlement, Also like @SumathiSomala asked why you have used if-else block if both nodes are going to same block?
10/13/2023 06:40 PM
As of now, I have replicated the scenario with only specific users (Not with user groups) as Rank owner 1 and Rank owner 2 respectively. For one user escalation request was received as expected. I think it should work fine with user group as well. I will replicate and let you know.
@smadabh , can you please let us know about the above questions asked by @Saathvik and @SumathiSomala .
Regards,
Dhruv Sharma
10/16/2023 04:45 PM
Yes, I do have a Rank 2 owner assigned to the role that I am testing with.
This workflow is part of a bigger workflow that we are already using today. In the original workflow, the else goes down to 'Grant Access' box.
I let it go to the same because of the message in the screenshot that I attached.
10/16/2023 04:43 PM
I did this just for the sake of testing to overcome what was written in red in the screenshot below.
10/14/2023 06:45 PM
It works as expected try removing if else block from your workflow
10/15/2023 10:40 PM
Please let us know if you are still facing any issues. Please use If-else block only if required. Here if-else block is not required. Workflow is working with and without if-else block.
Regards,
Dhruv Sharma
10/16/2023 04:49 PM
We need the if-else box.
I did try removing the else part and letting it go to 'Grant Access'. In this scenario, it directly went to the 'Else' condition(Grant access aka auto approved) because of the message in red in the above picture that I attached. Please take a look and advice.
10/17/2023 12:24 AM
Hi @smadabh
The initial issues you had raised was that the request is not going to rank 2 owners for approval, but as tested by us, it is going to Rank 2 owner for approval. You can refer to the screenshots above posted by me (with if-else) and @rushikeshvartak (without if-else).
Could you please confirm if that issue is resolved.
Regarding the use of entitlement variable in if-else (serial workflow), it is clearly mentioned that it is not supported and always go in else block hence you cannot validate your if entitlement condition there.
Regards,
Dhruv Sharma
11/07/2023 03:13 PM
Hi,
The above solution worked.
We have an added requirement now that asks to check and see if a rank 2 owner exists on the entitlement or not before escalating.
The requirement is send approval request to all rank 1 owners and if no one approves for 35mins, then check if the role has rank 2 owner. If yes, send request to all rank 2 owners, else auto reject.
I am having trouble finding the exact attribute to use in the 'if condition'. The one in the screenshot does not work. It leaves the request in pending state for rank 1 users even after escalation.
What condition can I use to satisfy the requirement?