Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Human Resources forum / Workflow Issue: Stoppe...
Human Resources forum
Suggested answer

Workflow Issue: Stopped (error): X++ Exception: Stopped (error): X++ Exception: Work item could not be created. Insufficient security permissions for user

Posted on by

Hi all

 One of my customers have the following problem:

The managers cannot approve time-off requests anymore. I have the following error in the workflow:

 Stopped (error): X++ Exception: Work item could not be created. Insufficient security permissions for user [user] 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

 

Everything was running well last week...

Anyone an idea?

Categories:
  • LenCo_89 Profile Picture
    LenCo_89 on at
    RE: Workflow Issue: Stopped (error): X++ Exception: Stopped (error): X++ Exception: Work item could not be created. Insufficient security permissions for user

    Hi all

    I found the solution. Apparently the client has changed the following setting:

    pastedimage1683281038296v4.png

    The security role "Manager" was not in this list. Adding the role "Manager" to this list solved the issue.

  • LenCo_89 Profile Picture
    LenCo_89 on at
    RE: Workflow Issue: Stopped (error): X++ Exception: Stopped (error): X++ Exception: Work item could not be created. Insufficient security permissions for user

    Hi Parag

    Thanks for the help, but is not working.
    Even with the standard roles from D365 (Employee & Manager) it is not working.

    I have logged a ticket at Microsoft.

  • Suggested answer
    Parag Chapre Profile Picture
    Parag Chapre 12,231 Super User on at
    RE: Workflow Issue: Stopped (error): X++ Exception: Stopped (error): X++ Exception: Work item could not be created. Insufficient security permissions for user

    Hi Lenco,

    Did you check the user has assigned the person in user form and correct security roles.

    This can be the issue.

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,914 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,549 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans