< class="prominent-subhead ">

Code Fix: Item References used in a workflow, go into error when opening Form Rules

~~repeating-content.html~~
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue Description

Using an Item Reference or a secondary Item Reference from a control’s data source in a workflow event results in the mapping going into an error state when editing the form’s rules. Attempting to fix the reference by dragging the SmartObject from the control’s data source in the rule, and then finishing the Form, results in the rule being error badged.
Image

Cause

The integration of the workflow with the form did not cater for second runs regarding secondary item references.

Resolution

  1. Ensure you have K2 4.7 installed.
  2. Download and install the K2 4.7 May 2017 Cumulative Update from K2 Partner and Customer Portal
  3. Get the K2 4.7 May 2017 Cumulative Update FP1 from Regional Support.
  4. Install the K2 4.7 May 2017 Cumulative Update FP1 to apply the fix.