Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

Purchase requisition workflow: Insufficient rights to create work item

Posted on by 90

Dear All,

Please help me to resolve exception error got while approving PR.

"Stopped (error): X++ Exception: Work item could not be created. Insufficient rights for user admin1.
at SysWorkflowWorkItem-create
SysWorkflowWorkItem-createWorkItems
SysWorkflow-save
SysWorkflowQueue-resume

X++ Exception: The workflow system could not access the busin"

* AX 2012 R3

* PurchReqReview workflow

* User admin1 is already system administrator.

* Batch is running

* tried with different user with system admin, purchase manager role.

Thanks

Asif

Categories:
  • Verified answer
    Asif Kunimmal Profile Picture
    Asif Kunimmal 90 on at
    RE: Purchase requisition workflow: Insufficient rights to create work item

    Dear Prashant,

    Thank you for support.  It was due to the customization in PR.

    User relation was replaced by new customized employee field in the PR & which results to empty for different employee.

    Thanks

    Asif

  • Verified answer
    Prashant Singh Profile Picture
    Prashant Singh 8,797 on at
    RE: Purchase requisition workflow: Insufficient rights to create work item

    Dear Asif Kunimmal,

    You can contact me on Skype. I will try to figure out the issue and will try to fix it.

    Regards,

    Prashant Kumar

    Skype : prashant_cs2009

  • Asif Kunimmal Profile Picture
    Asif Kunimmal 90 on at
    RE: Purchase requisition workflow: Insufficient rights to create work item

    Hi Prashant,

    I tried as you suggested, but unlucky.

    1. configuration is verified & it is okey

    2. User removed from AX.

    3. Imported again with system admin role and assigned relation employee.

    4. added user to workflow

    5. Recalled and resubmitted

    same error.

    Thanks

    Asif

  • Asif Kunimmal Profile Picture
    Asif Kunimmal 90 on at
    RE: Purchase requisition workflow: Insufficient rights to create work item

    Sorry  Andre,

    It has admin1 user name.

    Thanks

    Asif

  • Suggested answer
    Prashant Singh Profile Picture
    Prashant Singh 8,797 on at
    RE: Purchase requisition workflow: Insufficient rights to create work item

    Dear Asif Kunimmal,

    Please check/Action the following.

    1. Which workflow version is enabled if you have many version available. And check the configuration.

    2. Remove the user (Admin1 or any ) from AX.

    3. Import the user again and assign the corresponding role and make the employee user relationship.

    4. Modify the workflow with the user assignment. 

    5.  Recall and resubmit the workflow again.

    I hope it will solve your issue. It happens sometimes. I am not sure about the cause. It happen to me due to some customization. 

    Regards,

    Prashant Kumar

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 287,989 Super User on at
    RE: Purchase requisition workflow: Insufficient rights to create work item

    Hi Asif,

    This latest error has no user ID mentioned. Did it have "admin1" or was it really empty?

  • Asif Kunimmal Profile Picture
    Asif Kunimmal 90 on at
    RE: Purchase requisition workflow: Insufficient rights to create work item

    Thanks Martin,

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

    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

  • Asif Kunimmal Profile Picture
    Asif Kunimmal 90 on at
    RE: Purchase requisition workflow: Insufficient rights to create work item

    Thanks Andre,

    I am getting same error message.

    Thanks

    Asif

  • Martin Dráb Profile Picture
    Martin Dráb 225,588 Super User on at
    RE: Purchase requisition workflow: Insufficient rights to create work item

    Can you give us the complete error message for "The workflow system could not access the busin"? It might be the key.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 287,989 Super User on at
    RE: AX PR Req Review Workflow error

    Hi Asif,

    The security is bypassed for system administrators. It should not block. So this is something unusual.

    You said it was also tested with other system admin users. What was the outcome of this?

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,989 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans