Issue

In the current design for K2 SharePoint Workflow Integration configured for Content Approval,  one is able to create K2 SharePoint Workflow Client events in which the Destination Rule is set up to use the Plan Just Once option. SharePoint 2007 and SharePoint 2010 are not single instance aware and in the case where K2 SharePoint Workflows are configured as default Content Approval workflow, SharePoint throws an error when attempting to open a page for viewing or editing.

Error

Image

Requirement

In order to resolve this issue, it is required to set up the Destination Rules to use the Plan per Destination option instead of Plan Just Once. Processes designed in K2 Designer for SharePoint (thin client designer) already conforms to this requirement. Processes designed in K2 Studio and K2 Designer for Visual Studio can be changed manually.

Destination Rule in K2 Designer for SharePoint

The Destination Rule can be accessed through the following steps:

  1. Click on the Participants icon on the design canvas

     Image

  2. The Destination Rule is displayed. Select either All at once or One at a time

     Image

Destination Rule in K2 Studio or K2 Designer for Visual Studio

The Destination Rule can be accessed through the following steps:

  1. Click on the Destination Rule icon of the Activity

    Image

  2. The Destination Rule opens
  3. Click Back
  4. Select to Run this Wizard in Advanced Mode and click Next
  5. The Destination Rule Options are displayed
  6. Select one of the Plan per destination options

    Image