"The View Flow cannot be displayed" error is thrown


When attempting to open a Legacy process instance View Flow, the following error message is thrown.

The View Flow cannot be displayed because the size of this process instance (xxxxxxx bytes) exceeds that maximum size this K2 server (1000000 bytes) is currently configured to display.


a Common cause for this is where workflows have a lot of looping which makes the payload that ViewFlow needs to load large. 


The error indicates that the default limit "Payload Size" value is not set at a high enough value to load the View Flow in question.  This value can be altered by editing the View Flow site's web.config file, located in the "%ProgramFiles%\K2\WebServices\ViewFlow\ folder location.  Find the 'PayloadSize' value, and edit this to a larger number.  It is not required to restart IIS or the K2 Server service after editing this file.

Additional Information

Please note the default limit is set to prevent large process instances from impacting performance on the View Flow site.  

Related Links

Labels: (2)
Version history
Revision #:
2 of 2
Last update:
‎05-10-2021 09:33 AM
Updated by: