EvanM
Apprentice

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

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.


 


6177iC31017DDA5CEABD4.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:


 


6178i7823A6165E4E434E.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.


 


6179i879C786247038623.png

Reply
2 Replies
emilyc1
Apprentice

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

Wow, what an informative post! Thanks Evan.


 


-Emily

0 Kudos
Reply
adithepo
Apprentice

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

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

 

Thank you.

0 Kudos
Reply