< class="prominent-subhead ">

Code Fix: A K2 Workflow with a long name causes an error on deployment


Issue Description

When you attempt to deploy a K2 Workflow from a SharePoint App where the SharePoint List or Library has a long name and the workflow has a long name, an error occurs.

Error Message

The following two errors are addressed by this fix:

  1. “The value cannot be more than 128 characters in length”.
  2. “The specified path, file name or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.


  1. Ensure you have K2 Five (5.2) installed.
  2. Download the K2 Five (5.2) FP10 from K2 Partner and Customer Portal.
  3. Install the K2 Five (5.2) FP10 to apply the fix.
  4. It is recommended to refresh the browser cache.


Note that there is a known issue where forms and categories do not allow workflow names with more than 250 characters.