Workflow: error on removing all access for a leaver

Hello everyone,

I’m using a workflow to remove all the access for a leaver.
In the workflow are present the task “Get Access” where “Get Access Profiles” and “Get Roles” are checked, and the task “Manage Access” to remove all access profiles and all roles retrieved using “Get Access”.
The workflow fails and after some checking I found out the problem are the access profiles, in fact the workflow works when for the task “Get Access” the label “Get Access Profiles” is unchecked .

Regards,
Giuseppe