Click HERE to see how Saviynt Intelligence is transforming the industry. |
04/12/2022 01:12 PM
Hi All,
I'm trying to create a workflow that will route a request based on the object type being requested, i.e role or entitlement.
Is there a way i can get the object type being requested in an if-else block of a workflow?
Is there something on the REQUESTACCESSOBJ ?
Do we have any documentation that shows all the attributes available from the REQUESTACCESSOBJ?
Thanks in advance.
Ousman
Solved! Go to Solution.
04/12/2022 02:32 PM
Hi Ousman,
You can use below condition in your if-else block to check if requested access is role or entitlement
Note : (Language should be selected as "groovy" in if else block)
requesttype =1 for role
requesttype =2 for entitlement
if-else condition
com.saviynt.ecm.workflow.Request_Access.get(new Long(requestaccesskey)).requesttype == 2
04/12/2022 02:33 PM
Hi Aarthi,
Thanks you, working as expected.
Regards,
Ousman
04/12/2022 02:33 PM
Hello Aarthi,
For application roles request how can we retrieve the requested application role name in serial approval workflow? Object - REQUESTACCESSOBJ is null in case of application roles request.
Please share if any pointer.
Thanks,
Pallavi