Upgrade 2016-2017 - Workflow issue

poppins
Member Posts: 647
Hi everyone,
I am upgrading from NAV 2016 to 2017.
For the data upgrade, I used the following command:
Start-NavDataUpgrade -ServerInstance XXX -Force
It stops in the very beginning, and when investigating the error, I get the following:
There is one or more workflow instances.You must complere all running workflows before proceeding with the upgrade.
Did anyone face this before?
How shall I proceed about that?
Thanks in advance
I am upgrading from NAV 2016 to 2017.
For the data upgrade, I used the following command:
Start-NavDataUpgrade -ServerInstance XXX -Force
It stops in the very beginning, and when investigating the error, I get the following:
There is one or more workflow instances.You must complere all running workflows before proceeding with the upgrade.
Did anyone face this before?
How shall I proceed about that?
Thanks in advance

0
Answers
-
Hey,
Maybe a (approval-)workflow in NAV hasn't been completed yet?
I would check the Approval Request Entries or the Workflow*-tables.
Good luck.My blog - https://www.HannesHolst.com/0 -
HannesHolst wrote: »Hey,
Maybe a (approval-)workflow in NAV hasn't been completed yet?
I would check the Approval Request Entries or the Workflow*-tables.
Good luck.
Indeeed, there are approval request entries...
But what to do? I can't approve nor cancel them...0 -
Why not?
For an upgrade from 2016 to 2017 you should expect, that the daily work is completed.
When you are doing a test run at the moment, I would cancel or approve the requests by myself.
Later for production run, I would ask the owners to complete the entries. If not possible, cancel them and create new requests in 2017 afterwards.My blog - https://www.HannesHolst.com/0 -
I checked the code and the problem is in the upgrade code:
IF NOT WorkflowStepInstance.ISEMPTY THEN
ERROR(WorkflowInstancessAreRunningErr);
Apparently, the table Workflow Step Instances should be empty otherwise I'll get always an error...
I can remove the records, but would that be correct?
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions