Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/13/2024 08:09 AM
Hello Team,
I'm trying to develop a custom workflow where i need to check if ev.cp1='ABC' then, it should follow 2 level approval process, else it should go for 3 level approval. I have attached the WF screenshot here. Same workflow i have tested for new account with add access task (I have enabled Entitlements only flag in security system configs) and its working as expected without any issues for Add access/New account requests.
Also I have this option enabled in EP configs
Requests are getting auto approved for remove access and remove account requests. Any help here would be highly appreciable.
08/13/2024 08:19 AM
Did you attach any workflow over here for remove access?
Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.
08/13/2024 08:32 AM
Yes, Both Add and Remove having same workflow attached.
08/13/2024 08:44 AM - edited 08/13/2024 08:50 AM
Hi @Suresh1 , can share a clear image of workflow .
Plus remove account request will get autoapproved, you need to handle it seperately. And remove access task will get created as you have enabled "dependent task" functionality in endpoint. It is an expected behaviour.
08/13/2024 08:57 AM
Validate if it removes access / account task using below condition
Remove Access:
com.saviynt.ecm.workflow.Request_Access.get(Long.valueOf(requestaccesskey.toString())).requesttype == 2
------
Remove Account requestcounts.DELETE_ACC_REQUESTS_COUNT > 0
08/14/2024 12:48 PM
Hi @rushikeshvartak , i have tried the both syntaxes but no luck, It is getting me through till resource owner block and then gets approved, its not going to the access approval block (Third level approval).
08/14/2024 01:25 PM
Share logs in text file