Tuesday, June 24, 2014

Workflow Stopped (error): X++ Exception: Work item could not be created. Insufficient rights for user ?

I've had this problem a number of times and the error message doesn't give you enough information to know exactly what permissions need to be added for the user.

There are a couple of ways to determine the menu items and web menu items associated with the workflow.

The first way is to go to the AOT and look under the Workflow > Approvals node

The required display menu and web display menu items are highlighted below

The required action and web action menus are highlighted below

Check that the user has permission to access these display and action menu and webmenu items.

You can also use the Visual Studio 2010 debugger on the SysWorkflowDocument.assertAsUser() class method to locate the menu item(s) that the user doesn't have access to.




1 comment:

  1. Hi Tony,
    I have the exact same problem. i have follow all your instructions. But i dont have a clue what is the problem.
    i tried put Sysadmin Security role to this user, but the system still send me a same problem "Work item could not be created. Insufficient rights for user" .. "The workflow system could not access the business document data. Report this issue to your system administrator.
    at SysWorkflowDocument-assertAsUser"

    ReplyDelete