08/05/2022 06:16 AM
Hi,
I am trying to implement the following workflow:
The user requests access to a disconnected application. A new account and Add access approval emails are sent out and a task for new account and add access are created.
I want to the new account request to be auto approved and only add access request should go for approvals. Also, the task should be created only for the add access and not for new account.
In the workflow I can do if (ars_requests.requesttype == 3 and entitlement == null) then Access granted else go for add access approval
How can I avoid the task creation for new account?
Regards,
K
Solved! Go to Solution.
08/05/2022 06:43 AM - edited 08/05/2022 06:57 AM
08/05/2022 09:05 AM
Hi, Thanks for responding, but this only helps in not getting the approval workflow invoked for new account. The Task still gets created for New Account. Is there a way where a new task is not created for New Account?
08/05/2022 09:11 AM
You can do this via Security System add Entitlementsonly to create task action
08/05/2022 06:47 AM
Hi,
In case you are using role try with below condition in if-else block of your workflow :
entitlement.role_name ne null