Skip to main content

Notifications

Dynamics 365 Community / Forums / Finance forum / Function WorkflowSubmi...
Finance forum

Function WorkflowSubmitDialog.run has been incorrectly called.

Posted on by 952

Hi 

    I followed the link to create a new Worlflow for SalesOrder. When I finished, I add submitMenuItem and CancelMenuItem to form CalesTableListPage.

 https://community.dynamics.com/365/financeandoperations/b/nareshsdynamicsaxblog/archive/2017/03/15/create-custom-workflow-in-d365-dynamics-365#pi62366=2

But, when I check submit, I got an error information about "Function WorkflowSubmitDialog.run has been incorrectly called.". When I check "CancelMenuItem", it work fine.

Best Regards,

JustZM

  • Blue Wang Profile Picture
    Blue Wang on at
    RE: Function WorkflowSubmitDialog.run has been incorrectly called.

    Hi JustZM,

    The solution should be a framework refresh.

    A quick solution to this problem is to write an alternative way to take our own existing version lines and provide them to the WorkflowSubmitDialog object.

    Here is a similar case for you.

    http://dotnetxperience.blogspot.com/2015/11/ax-2012-workflow-function-run-has-been.html

    Hope this helps!

  • Sukrut Parab Profile Picture
    Sukrut Parab 71,645 Moderator on at
    RE: Function WorkflowSubmitDialog.run has been incorrectly called.

    Did you debug 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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 229,302 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans