Hi,
at a customer of us there are duplicate entries in workflow inventory. They use Nintex for SharePoint 2019, 5.2.12.0.
I found out that in the Nintex content database there are rows with an invalid WebApplicationId in the tables dbo.Workflows and dbo.PublishedWorkflows. In fact there is no WebApplication with this ID, and there is only one Nintex content database. As it seems to me, when the customer publishes such a workflow, a new row is created with the correct WebApplicationId. So workflow inventory shows a published version and a version 0.1 of the workflow.
Is it safe to update the WebApplicationId in dbo.Workflows and dbo.PublishedWorkflows and to remove duplicate rows from dbo.Workflows? That way it would try to solve the problem.
Regards, Andreas