Resolving the "Missing Reference at ConfiguredDecisionRule..." error in K2 5.1

  • 22 June 2018
  • 2 replies

Userlevel 2
Badge +9






When you go to deploy a workflow you will get the following error and deployment will not complete:






Missing reference at ConfiguredDecisionRule 'ConfiguredDecisionRule' in Activity 'Decision'. Error: A reference 'outcomeReference' was not set on 'modelConfiguredTaskExpression'. Stack Location : K2Process '[Process Name Here]' >Activity 'Decision' >'DecisionActivityConfiguration > Stack End.















  • This could be the first time you deploy the workflow, or if you have also deployed this workflow previously without this error.
  • You have recently used the Copy/Paste feature that was made available on the K2 Five Workflow Designer with the release of K2 5.1. If so, you might have copied some task and decision steps to another part of the same workflow. For example I might have copied the below decision and task steps outlined in blue:
















This error can be resolved by recreating the decision steps that you pasted a copy of into the same workflow. The original ones will be okay, but the copies are holding onto some old references. You can recreate the decision steps by clicking on the decision step to highlight it, then click delete on your keyboard. After that drag back in the Decision step from the Event Wizard toolbox. 






WARNING: If you are deleting a Decision step that has a "Custom Rule" configured instead of "Use Task Results" for it's "Decisions Rule" section, you will then have to recreate that custom rule. If you are only using the task results, this will automatically rebind itself and no additional configuration would be needed.








2 replies

Wow, what an informative post! Thanks Evan.



This error still occurs on 5.2 but can use this solution.


Thank you.