Code Fix: SmartActions stops executing when AutoDiscover is disabled
KB003574
PRODUCT
Issue Description
SmartActions on workflow instances stops executing and an error is visible in the K2 Host Server log file. This occurs when AutoDiscover is disabled on the environment.
Error Message
The following error is logged in the K2 Host Server log file: “The request failed with HTTP status 401: Unauthorized.”.
Resolution
The fix is available in the following K2 versions:
K2 4.7 December 2019 Cumulative Update | K2 Five (5.0) December 2019 Cumulative Update | K2 Five (5.1) November 2018 Cumulative Update | K2 Five (5.2) May 2019 Cumulative Update | K2 Five (5.3) April 2020 Cumulative Update | K2 Platform Classic(5.4) |
---|---|---|---|---|---|
X | X | X | Fix Pack 45 | Fix Pack 21 | Fix Pack 7 |
- Ensure you have the correct K2 version and/or Cumulative Update installed. See KB001893 to see what Fix Pack level you have installed.
- Download the latest Fix Pack using the links in the table above for the version you require.
- Install the Fix Pack to apply the fix.
Considerations
After installing the Fix Pack, the error will still be logged in the K2 Host Server log file, but it will not affect this fix.