Topic
Viewflows are not working properly after upgrade.
1. Legacy Workflows: The ViewFlow of legacy workflows are encountering the following error while being accessed.
CS0103: The name 'Styles' does not exist in the current context.
2. K2 Five Workflows: The ViewFlow URL redirects to wrong URL and the workflow diagram does not appear resulting in a blank screen when ViewFlow is loaded.
Actual URL: https://{K2 Site URL}/ViewFlow/ViewFlow.aspx?ProcessID=X
Expected URL: https://{K2 Site URL}/Designer/K2Workflow/ViewFlow.aspx?procinstid=X
Instructions
1. Compare the following web.config files from working environment and manually apply the necessary changes.
- [Installation path]\K2 blackpearl\WebServices\ViewFlow
- [Installation path]\K2 blackpearl\WebServices\ViewFlow Legacy
Important Note: Please take a backup of the original files before making any changes.
2. Perform an IIS reset and clear the browser cache and cookies.