Introduction

A K2 Designer for SharePoint process using runtime participant assignment, fails with a javascript error during runtime user assignment. This only occurs when making use of SharePoint managed paths.

Error Scenario

Note: Note: The circumstances described in this article are one scenario under which this issue may, or is known to occur. The description is intended to be specific to the scenario described and does not take into account all possible scenarios or circumstances.

To reproduce this error:

  1. Create a K2 process in K2 Designer for SharePoint
  2. Drag a User Task onto the process and continue with the wizard until you reach the Participants screen.
  3. On the Participants screen, drag the “runtime participants” from the right-hand side and select finish.
  4. Finish designing the rest of the process and deploy the process.
  5. Exit the SharePoint designer.
  6. Start the new workflow.
  7. In the Participants section of the workflow type in a username and click the check names button.
  8. The error will be displayed.

Error Message
A Javascript error displaying “Object Required” occurs.

Error Resolution
This Hotfix is contained within the latest K2 Update. Install the update package to resolve the error.