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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Next workflow step id is empty

(0) ShareShare
ReportReport
Posted on by 179
i have confiqured a custom workflow to run workflow approval process from time sheets.
 
i have noticed that work flow step table record is not creating next work flow step id in workflow step table.
 
As a result when my first approver approves time sheet then workflow step instance get deleted. Custom workflow does not procedes futher.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
How can next work flow step id be added for my custom workflow in work flow step table.
 
Thanks
 
 
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    102,054 Super User 2026 Season 1 on at
    This is clearly a problem caused by customization. Hopefully, the following information can give you some hints.
  • Suggested answer
    Dhiren Nagar Profile Picture
    2,890 Super User 2026 Season 1 on at
    Hi,
     
    Firdt make sure that customization of workflow is completed properly. You can refer to the link provided by YUN ZHU for this.
     
    Apart from this make sure that in the approval workflow when you create it manually you need to define all the events and response proprrly with multiple actions if needed. If therr is any gap in them it will not go to next step and workflow will stop.
     
    You can check some standard workflow for reference of workflow eventd and response setup.
     
    Regards,
    Dhiren.
  • Suggested answer
    OussamaSabbouh Profile Picture
    17,836 Super User 2026 Season 1 on at
    Hello,
     
    You don’t manually set Next Workflow Step ID; Business Central fills it automatically only when the workflow is created/saved through the workflow designer or the workflow framework codeunits. If workflow steps were inserted manually (table edits, config package, or custom inserts), BC won’t link the steps, so Next Workflow Step ID stays 0 and the workflow ends after the first approval, deleting the instance. Rebuild the workflow in the UI designer (or via proper workflow setup code), or rely on Approver Chain for multi-approver scenarios instead of multiple workflow steps.
     
    Regards,
    Oussama Sabbouh
  • Suggested answer
    Guy-JM Profile Picture
    129 on at
    Out of interest, how did you create the workflow? 
     
    If you used configuration packages to copy an existing one to then edit, this is a very tricky process to achieve successfully and could be the reason you are experiencing issues.
     
    If you did use config packs, try recreating it manually or by using the 'Export to File' and 'Import to file' to copy workflows between companies and environments for editing.
     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,687 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,041 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 974 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans