Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
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

(0) ShareShare
ReportReport
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
    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
    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
    12,231 Moderator 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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Blog subscriptions now enabled!

Follow your favorite blogs

TechTalk: How Dataverse and Microsoft Fabric powers ...

Explore the latest advancements in data export and integration within ...

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans