This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.
HTML5 Designer - Register RER (Remote Event Receiver) before deployment, causing errors in the EventLogs ("Workflow not found").
There are no runtime implications here, you will only notice the errors being logged in the K2 Event Log.
"25223 Process Portal OrphanRER\OrphanRER HTML Workflow not found"
[Assembly]: SourceCode.EventBus.SharePoint15.ProcessStarter, Version=188.8.131.52, Culture=neutral, PublicKeyToken=16a2c5aaaa1b130d
Use this sample script to find true orphan events. Please note the following:
If ProcSetFullName = NULL
This doesn't necessarily mean it's an invalid entry, ProcSet will only exist if there is a deployed version of the Workflow.
If DesignVersionExist = NULL
This means there is no Design Version for the Workflow.
If Both the ProcSetFullName and DesignVersionExist = NULL, it represents true orphans.
-- Maint check script -- PROCSETFULLENAME = NULL WF not deployed,DesignVersionExist = NULL WF Designtime version deleted
SELECT [WorkflowID], [Event], [WorkflowName], [ListID],[SiteURL],DESPROC.[Name] as DesignVersionExist, PROCSET.[Name] AS PROCSETFULLENAME
INNER JOIN [Integration].[ProcessSharePointWorkflow] AS SPWORKFLOW
ON [Integration].[ProcessSharePointWorkflowEvent].WorkflowID = SPWORKFLOW.[ID]
LEFT JOIN [Server].[ProcSet] AS PROCSET
ON [WorkflowName] = PROCSET.FullName
LEFT JOIN [Designer].[Process] as DESPROC
ON [WorkflowName] = DESPROC.[Name]
where PROCSET.[Name] is NULL and DESPROC.[Name] is NULL
There is no impact due to this error, it can be ignored. K2 is aware of this and is working on resolving this in K2 Five 5.2.