Click HERE to see how Saviynt Intelligence is transforming the industry. |
04/12/2022 12:54 PM
When creating a workflow that would have approval inside, I found out there is a way to tell "If the requestor is the / one of the approver(s), the request is automatically accepted.
For example, if we use the Manager Approval, we can put before the below script in a If / Else Condition box to accept the request if manager is doing the request :
requestedby.username!=user.owner
However, I was wondering if we can insert in If / Else Condition box a SQL Query, as the assignees would be based on Custom Assignement.
Thanks for advising.
SSM Version : 5.4.0.
Solved! Go to Solution.
04/12/2022 01:50 PM
There is a Custom Assignment block in v5.4 that accepts SQL queries.
04/12/2022 01:50 PM
Hi Avinash,
Yes, this is what we are using for assigning the approval to a specific SAV Role :
My question is, as this is custom assignement, the following :
Is there any way to tell "if the requestor is part of the results of this custom assignment, therefore the system automatically approves the request" ?
04/12/2022 01:50 PM
I believe the default behavior is that if the requestor also happens to be the approver, then the approval goes to the Admin.
04/12/2022 01:50 PM
I have tested in a 5.4.1 that when requestor is the approver, it actually goes to a complete request. Need to check this on 5.4.0 again and confirm.
We can mark this as answered.