< class="prominent-subhead ">

Code Fix: Starting a K2 Workflow in K2 Management Site results in an error

~~repeating-content.html~~
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 Description

When you start a K2 Workflow in K2 Management site that contains references from SharePoint Management steps, an incorrect URL is populated which causes an error.

Error Message

The following error occurs: “Error retrieving Service Instance – [SharePoint Site URL]_Sites_[Site Name]_[List/Document Library Name]”

Cause

K2 Runtime URL build-up was adding URL property to reference.

Resolution

  1. Ensure you have K2 Five RTM installed.
  2. Get the K2 Five RTM FP25 from Regional Support.
  3. Install the K2 Five RTM FP25 to apply the fix.
  4. It is recommended to refresh the browser cache.
  5. For your broken SharePoint Step you must re-drop the event and configure it again to remove the error from the instance
  6. You can now start your workflow instance without the error.