Viewflow shows the process instance as 'Active', although the process instance does not exist
kbt139653
PRODUCTIssue
The Viewflow report shows the process instance status as 'Active', although the process instance does not exist.
Symptoms
If access to the K2 database is possible, one can also query the [Server].[ProcInst] table for this process instance. If the corresponding row does not exist in this table, then the process instance was likely somehow deleted.
In this case, it was determined that there had been a recent effort to clean up process versions.
However, if the 'Delete all historical (log) data for selected versions' option is not checked; this will leave behind inconsistent process instance statuses (Active, Running, Error) for non-existent process instances.
Troubleshooting Steps
1. Identify which process version this process instance was running on.
2. Which process version remains? Which version was deleted?
A behavioral change request was logged so that the reporting status for these process instances will be set to 'Deleted' if they are deleted by the deletion of a process version (without checking the 'Delete all historical (log) data for selected version' option).
Similar to deleting a single process instance, but without checking the 'Delete Reporting Data(Logs)' option: