This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.

Issue

The following error appears when deploying a workflow: 
Missing reference at Activity ‘Task’. Error. A item with this name already exist on this container

Image

Symptoms

When you add three or more actions on a workflow task step, you might receive the missing reference error which will prevent you from deploying the workflow.

Troubleshooting Steps

This issue has been fixed in K2 Five 5.1 FP 4: https://help.k2.com/kb002490

If applying the fix pack does not fix the issue, you can use the following workaround:
Rename all the Task Results in 'Results/Voting' tab in the Task step.
- Example: Approve > Approved , Cancel> Cancelled