web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Workflow flow stopped without error

(0) ShareShare
ReportReport
Posted on by

Hi ,

I have configured vendor add justification workflow for vendor requests and added approval element. This a fairly simple workflow with one approval and without any conditions. The approver has all necessary privileges to approve/reject the workflow.

After the workflow is approved by the approver, the  workflow execution stops and there is no description for the error. The error message in the workflow history

Vend-req-error.jpg

There is no error description in the event logs.

There are no customizations for any workflows in our implementation. All other workflows (Purchase req, expense reports, purchase orders) are working as expected and without any errors.

I have tried a full CIL generation but it didn't fix the issue.

Please let me know what could be probable reason for this error. I would really appreciate any ideas on how to resolve this issue.

Thanks

*This post is locked for comments

I have the same question (0)
  • Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    I cannot think of anything fishy at this moment by looking over the details you have provided.

    But this may be something at time of notification generation, which is done after workflow approval, by system.

    Its hard to say further, I would recommend you to turn on debugger and see point of failure.

  • André Arnaud de Calavon Profile Picture
    301,075 Super User 2025 Season 2 on at

    Hi Amrendra,

    There can be a configuration error in the workflow even when it looks OK in AX. As you have run CIL you can try to create a new workflow configuration and deactivate the old one.

    I have seen a similar error when someone tried to "repair" a workflow directly in the tables instead of the user interface.

    Otherwise like Sohaib mentioned you can try to debug this scenario. Note that AX is calling some specific workflow dlls which in return calls some services in AX which might make it harder to debug.

  • Community Member Profile Picture
    on at

    Hi Sohaib,

    Thanks for your message.

    I tried your suggestion and  turned on the debugger and resumed the workflow but it didn't give me point of failure.

  • Community Member Profile Picture
    on at

    Hi Andre,

    Thank you for your message.

    I created a new vendor add justification workflow and deactivated the previous one but even the new version is also ending with same error.

    Regards

    Amrendra

  • André Arnaud de Calavon Profile Picture
    301,075 Super User 2025 Season 2 on at

    Hi Amrendra,

    You can try to do a full compilation once more (x++ and CIL). Then restart the AOS server(s). If this doesn't work, I would suggest to get someone on-site to do the troubleshooting for you. Unfortunately this error is too general to have an easy answer.

  • Okay Akdeniz Profile Picture
    110 on at

    Hi,

    On the server(s) where run the workflows' batch tasks, there is a node in the event logs specific to workflows.

    ax-workflow-eventlog.png

    You should check the errors from this node. If there is an exception like "X++ Exception: COM object of class...." you should check your servers's environment. HTML Filter COM Objects etc.

    You may try to use AOS\Forms\Tutorial_Workflowprocessor.  This form execute workflow tasks on local client environment. If the workflow requests run with this form normally, you should focus on AOS servers environment.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi amrendra pal,

    Try doing this from back end.

    0537.WorkFlow.JPG


    start this process, it will run all the workflows. try doing this. it is just a suggestion not solution.

    thanks

    Suresh

  • Suggested answer
    Syed Shabab Mujtaba Profile Picture
    278 on at

    Hi Amrendra,

    Open the Workflow setup and check again all the settings there will be something missing in logic due to which workflow is stopping.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Amrendra,

    Please check if your workflow batch jobs are running & Batch group setup/Server config. if the correct server is selected. If that doesn't help, try to reboot AOS/SQL

    Regards

    V

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans