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 :
Small and medium business | Business Central, N...
Answered

Workflow error: You must create a workflow from the template to edit it

(0) ShareShare
ReportReport
Posted on by 80

I'm creating two custom workflows for custom tables/documents and on my first run, I realized that there were some errors I needed to correct on the templates but changing anything on the Workflow setup results in an error:

"You must create a workflow from the template to edit it"

When I open the workflow templates/workflows page.

I have tried changing the SchemaUpdateMode to ReCreate & ForceSync but it's not working still.

How can I remove a previously inserted Workflow Template or make sure every time I publish my extension it updates it automatically.

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,708 Moderator on at

    Hi,

    You can have an idea for custom workflow creation with below link

    www.linkedin.com/.../

  • Redgren Profile Picture
    80 on at

    Please note that I have used this same blog article to create my Workflow, my only issue is with the said error when wanting to update template(s).

  • Verified answer
    CU07111521-0 Profile Picture
    7 on at
    Hi, 
    I have the same problem using the link below:
     
     
    the solution is  to replace the Event Subscriber  OnAfterInitWorkflowTemplates by  OnInsertWorkflowTemplates .
     
    everthing will be ok after.
     
     

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,468

#2
YUN ZHU Profile Picture

YUN ZHU 923 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 607

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans