Workflows show in document library but don't exist on server
kbt134697
PRODUCTK2 blackpearl 4.7
BASED ONK2 blackpearl 4.7
TAGSMicrosoft SharePoint
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.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.
Issue
When removing Sharepoint K2 Workflows via K2 Designer, the Workflow is still selectable on the Workflow Manager but displays an error.Symptoms
When removing Workflows with K2 Designer, the Workflow is not removed from the K2 integration tables and is still shown as selectable.Resolution
To resolve this issue, run the following query:
exec [Integration].[ProcessListSharePointWorkflowPerList] @SiteURL=N'https://url',@ListId=N'{ListGUID}'
Please note the @SiteURL=N'https: and ,@ListId= segments need to be changed to reflect the correct customer values. If any results return, please contact K2 support for the needed scripts to remove these Workflow entries.