Code Fix: There is insufficient logging for K2 workflow error diagnosis
KB002703
PRODUCT
Issue Description
When you experience K2 workflow errors, there is no error logging available on the K2 HTML Designer web server.
Resolution
- Ensure you have K2 Five (5.1) installed.
- Download the K2 Five (5.1) FP22 from K2 Partner and Customer Portal.
- Install the K2 Five (5.1) FP22 to apply the fix.
Considerations
To ensure that logging is fully enabled the following changes need to be added to the “[INSTALLDIR]K2 Smartforms DesignerK2 workflow Designerweb.config” under <appsettings>
<add key="Logging.Enabled" value="true"/>
<add key="Logging.LogPath" value="C:Debugk2Designer.log"/>
<add key="Logging.LogSeverity" value="Debug"/>
<add key="Logging.LogStackTrace" value="true"/>
Then create a folder as is specified in the LogPath (C:Debug).
Do an iisreset.
The valid options for Log Severity are:
- Error
- Warning
- Info
- Debug