Hi
We are in the process of implementing the built-in functionality for security roles related to organizations.
In connection with this, we can determine that this causes problems in relation to the processes around time approval.
There are some things related to workflows that no longer work when we apply organization restrictions to the approver.
The most common problem occurs when an employee sends a timesheet for approval and the approver has organizational restrictions on the roles. Here the timesheet cannot be sent for approval as the approver has insufficient rights.
There doesn’t seem to be any connection between, which roles are assigned to the approver, and the organizational restrictions.
The error appears no matter which role the organizational restriction is on, it can also be an empty role. I have also tried to add organizational restriction to a role and then granted access to all organization nodes individually – same error.
The following error message appears when a timesheet user sends the timesheet to the approver:
X++ Exception: The workflow system could not access the business document data. Report this issue to your system administrator.
at SysWorkflowDocument-assertAsUser
SysWorkflowDocument-assert
SysWorkflowDocument-assertPermission
SysWorkflowWorkItem-create
SysWorkflowWorkItem-createWorkItems
SysWorkflow-save
SysWorkflowQueue-resume
Stopped (error): X++ Exception: Work item could not be created. Insufficient security permissions for user okotest. Please review the user’s security permissions to ensure they are sufficient for this workflow document and then resume the workflow.
at SysWorkflowWorkItem-create
SysWorkflowWorkItem-createWorkItems
SysWorkflow-save
SysWorkflowQueue-resume
X++ Exception: The workflow system could not access the business document data. Report this issue to your system administrator.
at SysWorkflowDocument-assertAsUser
SysWorkflowDocument-assert
SysWorkflowDocument-assertPermission
SysWorkflowWorkItem-create
SysWorkflowWorkItem-createWorkItems
SysWorkflow-save
SysWorkflowQueue-resume
Does anyone have any idea how I can solve this problem?