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 :
Dynamics 365 Community / Forums / Finance forum / Function WorkflowSubmi...
Finance forum

Function WorkflowSubmitDialog.run has been incorrectly called.

(0) ShareShare
ReportReport
Posted on by 962

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

I have the same question (0)
  • Sukrut Parab Profile Picture
    71,710 Moderator on at

    Did you debug the issue ?

  • Blue Wang Profile Picture
    on at

    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!

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 > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans