When using the K2 Worklist and large volumes of data are returned from the K2 Server, for example in excess of 20,000 records, a timeout error occurs.

If after this hotfix has been applied and the K2 Worklist response time is percieved as slow then the following entry must be added to the K2Server.setup file located in [INSTALLDIR]\Host Server\Bin to further enhance performance:

<WorklistQueryHints Enable="true" />

Example Code:

   <WorklistQueryHints Enable="true" />
      <Service Name="WorkFlowEventRecorder" Assembly="SourceCode.EventBus.WorkFlowEventRecorder" Type="SourceCode.EventBus.WorkFlowEventRecorder.Recorder" />
      <Service Name="WorkflowEventListener" Assembly="SourceCode.SharePoint.WorkflowEventListener" Type="SourceCode.SharePoint.WorkflowEventListener.Listener" />
    </Services> .....

By default this setting does not appear in the file, however the system considers the value to be "false".

Error Scenario

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 process with one Client event (Plan per destination, Plan Once)
  2. Specify slots (a minimum of 5).
  3. Assign at least one of the slots to a large Role, and the other slots to random users, this will ensure the _Actioners table is populated with sufficient volume of data.
  4. Start at least 20,000 process instances.
  5. Open K2 Worklist.

Error Message
A timeout error occurs

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