Skip to main content

Notifications

Microsoft Dynamics AX forum
Suggested answer

Workflow stopped error (no message)

Posted on by Microsoft Employee

 Hi Guys,

Good day.

I designed some workflows on Purchase requisition, Proejct budget in AX 2012. Those workflow are composed of  elements such as Conditional decision and  Approval.

After setting, those workflows previously worked properly. But, unfotunatly it did not work correctly. It just stopped during creating the workitem. 

Actually it showed only the "Workflow Activated" and some elements such as Parallel decision was processed but the workitem for approver assignment i was not created with error messag just like 'Workflow stopped  (error)".

Can somebody help me on this error? Thanks.

Categories:
  • commando001 Profile Picture
    commando001 46 on at
    RE: Workflow stopped error (no message)

    Also worth checking that none of the activated workflows have an error. We had this issue and the reason was that one workflow was activated which has an error. This resulted in all the workflows failing.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Workflow stopped error (no message)

    Just in case there is still anyone out there, I find that opening the Workflow tutorial form (Tutorial_WorkflowProcessor) and starting the processor manually sometimes resolves the issue (or shows a detailed error message if not.)

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Workflow stopped error(no message, AX 2012)

    I had a similar issue.  These were the steps i followed to resolve the issue.

    1. Click Home > Inquiries > Workflow > Workflow history.

    2. From the Filter by status list, select the work flow for the status Stopped (error)

    3. Check on the error message which looked similar to the below.

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

    4. The approver is by user group. So I identified the approval permission user xxx has and corrected the permission and resumed the workflow.
    5. This time the workflow completed without issue.

    Hope this helps for people with similar issue.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Workflow stopped error(no message, AX 2012)

    i have also encountered this problem. Is there any resolution about this case?

  • Maxim_msk Profile Picture
    Maxim_msk 845 on at
    RE: Workflow stopped error(no message, AX 2012)

    Yes, Andre

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 290,142 Super User 2024 Season 2 on at
    RE: Workflow stopped error(no message, AX 2012)

    Hi Maxim,

    Did you also try to run a full CIL compile?

  • Maxim_msk Profile Picture
    Maxim_msk 845 on at
    RE: Workflow stopped error(no message, AX 2012)

    Checked languages - all is ok, but error still remains.

  • dekaasboer Profile Picture
    dekaasboer 1,530 on at
    RE: Workflow stopped error(no message, AX 2012)

    In the following cases some unexpected beheviour might occur:

    -Not all users are valid and active in AX. (workflow owner, user, approver)

    -Not all workflow translations for users with different language settings are supplied ( again: workflow owner, user, approver)

  • Maxim_msk Profile Picture
    Maxim_msk 845 on at
    RE: Workflow stopped error(no message, AX 2012)

    Had you find the reason of the issue?

  • John Hannan Profile Picture
    John Hannan 1,235 on at
    RE: Workflow stopped error(no message, AX 2012)

    Eugene and Andre, thank you so much for the assistance.  I checked the language and that was not the issue, but through the event logs I was able to find the reason was something is wrong with one of the user ID's.  I have Microsoft looking at this for me.  Thanks again!

Helpful resources

Quick Links

Dynamics 365 Community Update

Welcome to the inaugural Community Platform Update. As part of our commitment to…

Dynamics 365 Community Newsletter - August 2024

Catch up on the latest D365 Community news

Community Spotlight of the Month

Kudos to Mohana Yadav!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,142 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 227,979 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans