Announcements
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?
Hi Gaute,
You can try to revoke all the role for this user and add it again.
To add or remove dynamic rules follow this: system admin > Security > Assign users to roles.
Please refer to the following threads, they mention the same error as yours and may be helpful:
Hi Gaute,
Can you tell which exact roles were assigned to the manager and if you also restricted the legal entities for the system user role? If you restricted the system user role, try to add the 'DAT' company to the system user role.
Do both users have employment records in both legal entities? This could be the cause of the security error.
Check in Human Resources>Employees>[Employee Record]>Employment history
André Arnaud de Cal...
293,296
Super User 2025 Season 1
Martin Dráb
232,093
Most Valuable Professional
nmaenpaa
101,156
Moderator