Code Fix: When copying a user task step in K2 workflow designer and connecting it to another task step, an error occurs
KB003640
PRODUCT
Issue Description
When you copy and paste a user task step in the K2 workflow designer and link it to another task step using the output line, an error occurs, and the workflow cannot be deployed.
Error Message
The following error occurs: “Task" step has too many outgoing lines. Use logic steps to branch your workflow”.
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 Five (5.4) |
---|---|---|---|---|---|
X | X | X | X | Fix Pack 27 | X |
- 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.
- It is recommended to refresh the browser cache.
Considerations
The fix will be applied to new workflows. If you have a workflow already in broken state, you need to delete the previously copied task step then copy and paste the task step again.