Issue
When opening the Viewflow link of a process instance an error message will appear.
The Viewflow URL will look as follows:
https://K2URL/K2Workflow/Viewflow.aspx?procInstId=123
When changing the URL as per below the Viewflow will open successfully:
https://K2URL/Designer/K2Workflow/Viewflow.aspx?procInstId=123
Error Code
”Server Error in ‘/’ Application”
Resolution
Please have a look at the following article to see if this fixes the issue:
https://community.nintex.com/t5/K2-Five-Cumulative-Updates-and/K2-Five-5-4-Fix-Packs/ta-p/126059
If K2 5.4 FixPack 23 does not solve the issue, run the following SQL queries:
SELECT * FROM [K2].[Environment].[FieldType] WHERE [TypeId] = '34214DE3-C34F-430C-A547-EA60F7CEE448'
SELECT * FROM [K2].[Environment].[Field] WHERE [TypeId] = '34214DE3-C34F-430C-A547-EA60F7CEE448'
One of the K2 Designer Environment Library Fields should be marked as Default.
If both are not marked as default, please navigate to Management and mark one of the fields as default.
Additional Information