and more in a single search tool across platforms. Read the announcement here. |
01/29/2024 02:16 AM - last edited on 01/29/2024 10:09 PM by Sunil
Hi Team,
We have a use case in workflow, if requestee and approver are same then it should go to Approver's manager queue for approval. I have tried with below query, however its not working as expected.
If-else block condition:
(com.saviynt.ecm.identitywarehouse.domain.Usergroup_users.executeQuery("select ugu.id from Usergroup_users ugu where ugu.user_groupkey in (128) AND ugu.userkey= '${user.userkey}'")?.size() != 0)
If this condition true to should go approver's manager queue for approval (used below query in custom assignment block).
select userkey from users where userkey = ${user.manager}
Please review this query and let me know solution for this issue.
Can someone check this use case and provide me solution for this usecase.
[This message has been edited by moderator to merge reply comment]
01/30/2024 08:38 PM
Hi @Rajesh_IAM
Are you using Serial or Parallel workflow? Can you share the screenshot for this workflow?
01/30/2024 09:57 PM
Hi @adarshk
I am using serial workflow and below is the requested screen shot. First it will check requestor and approver are same, if its false then it will check requestee and approver are same , in both cases request should be go to approver's queue.
01/30/2024 10:59 PM
You can use custom assignment block
01/30/2024 11:19 PM
Hi @rushikeshvartak ,
I used already custom assignment block if requestee and approver are same then request should go to approver's manager queue for approval.
(com.saviynt.ecm.identitywarehouse.domain.Usergroup_users.executeQuery("select ugu.id from Usergroup_users ugu where ugu.user_groupkey in (127) AND ugu.userkey= '${{REQUESTEDFOR?.id}'")?.size() != 0)
Custom Assignment Block: