Designer - Loop - Renaming LIST ITEMS reference causes errors on Deployment (Missing reference at ItemReferenceField)

  • 16 February 2021
  • 0 replies
  • 25 views

  • Anonymous
  • 0 replies
 

Designer - Loop - Renaming LIST ITEMS reference causes errors on Deployment (Missing reference at ItemReferenceField)

kbt155880

PRODUCT
K2 Five 5.2
BASED ON
K2 Five 5.2
TAGS
Deployment
Workflow Designer
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

Designer - Loop - Renaming LIST ITEMS reference causes errors on Deployment (Missing reference at ItemReferenceField) Error: Missing reference at ItemReferenceField 'Value' in Event 'SmartObject Method' in Activity 'SmartObject Method'.

Object reference not set to an instance of an object.. Stack Location : K2Process 'MY Workflow' >Activity 'SmartObject Method' >SmartWizardEvent 'SmartObject Method' >SmartWizardConfiguration >ControlValueCollection >PropertyMapperRowValueCollection >Expression > Stack End

Symptoms

You cannot deploy Workflow from K2 Designer.

Renaming the Item Reference created by a Loop step on the Loop step configuration panel does not rename the Reference fields that is used in the rest of the workflow which causes deployment errors.

Resolution

This is a known product issue. The bug was resolved in K2 Five 5.3

Workaround:

1. When creating a Item Reference from the Loops Step, don't rename the 'Item' reference.

2. Rename from the References context menu instead. If renaming from the References in the Context Browser it will also update all the Events where this field is used and you should not see any badging issues when done.

Image


0 replies

Be the first to reply!

Reply