When you migrate a workflow instance to another version of the workflow, an error occurs.
The following error occurs: “Object reference not set to an instance of an object”.
This occurs on any HTML5 designer workflow that contains outcomes. Outcomes were loaded by ID and since ID’s are different between workflow versions, outcomes cannot be loaded.
- Ensure you have K2 Five (5.2) installed.
- Download the K2 Five (5.2) FP18 from K2 Partner and Customer Portal.
- Install the K2 Five (5.2) FP18 to apply the fix.
After installing Fix Pack 18, any new workflows will work when you migrate an instance to another version.
For workflows in a broken state, you must change the [ExecutingProcID] value in the [K2].[Server].[ProcInst] table to the previous ID before Live Instance Management was attempted. Restart your K2 Host Server.
It is recommended to create a backup of your K2 database before making any changes in the database.