Hi all,
Whenever upgrading the system to latest version, users and security roles are not refreshing. So when the employee/users submit the timesheets for approval, supervisors are not getting timesheets for review because of the workflow error stating :
Stopped (error): X++ Exception: Work item could not be created. Insufficient security permissions for user ABC.
Please review the user's security permissions to ensure they are sufficient for this workflow document and then resume the workflow.
So I checked the user have assigned to required role with menu items and Yes, all the menu items with privileges are assigned to user.
I deleted the user ABC and imported again and assigned worker and required roles (Same roles as previous) and resumed the workflow then it's working again.
So we need to avoid doing it every time we upgrade the system or any deployment.
Is there any way I can refresh all the users when upgrade happens? or is there a solution to avoid deleting the user and assign again.
Please share your thoughts and any resolution to avoid the workflow errors.