No ratings

Code Fix: Starting a K2 Workflow via the REST API slow performance is experienced

Issue Description

When you start a K2 Workflow via the REST API the workflow is by default started synchronously which has a large performance impact when said workflow is large with server-side actions.

Consideration

Within the K2 Workflow REST API UI there is now an option marked as “sync” with a dropdown to select true or false, selecting false will run the workflow asynchronously. The default selection will be true which will run the workflow synchronously.

Resolution

The fix is available in:

 

  1. Ensure you have the correct K2 version and/or Cumulative update installed. See KB001893 to see what Fix Pack level you have installed.
  2. Download the latest Fix Pack using the links in the table above for the version you require.
  3. Install the Fix Pack to apply the fix.
  4. It is recommended to clear browser cache and refresh the page.
Labels: (1)
Version history
Last update:
‎10-21-2021 05:11 AM
Updated by:
Contributors