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

  • 22 June 2018
  • 2 replies
  • 116 views

Userlevel 2
Badge +9

Issue:

 

 

 

 

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.

 

 

 

 

 

12072i0C3A2201509F83D7.png

 

 

 

 

 

Symptoms:

 

 


  • 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:

     

 

 

 

 

 

15842i8038A96E446A4822.png

 

 

 

 

 

Resolution:

 

 

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.

 

 

 

 

 

15171iD32C84B2CC2421EA.png

 


2 replies

Wow, what an informative post! Thanks Evan.


 


-Emily

Badge +4

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

 

Thank you.

Reply