Hi,
When I restrict a manager's security roles to not apply for all legal entities, the manager does not receive timesheets for approval.
The system gives the the following error:
Stopped (error): X++ Exception: Work item could not be created. Insufficient security permissions for user (User.name). Please review the user's security permissions to ensure they are sufficient for this workflow document and then resume the workflow.
at SysWorkflowWo
This is what the workflow look like:

The timesheets are supposed to be assigned to the submitting user's manager for approval.
Both users are working in the same legal entity, and the timesheet is registered towards the same legal entity.
However, if I restrict the security roles to only apply for that legal entity, the workflow fails.
Does anyone have any idea why this happens?