Code Fix: The create reference step is unable to loop through list items in runtime

  • 16 February 2021
  • 0 replies
  • 16 views

Badge +9
 

Code Fix: The create reference step is unable to loop through list items in runtime

KB002912

PRODUCT
K2 Five 5.1
K2 Five (5.1) November 2018 Cumulative Update
K2 Five (5.1) November 2018 Cumulative Update Fix Pack 3

 

Issue Description

An error occurs in runtime when the create reference step in a K2 Workflow attempts to loop through SharePoint list items that contain an ampersand (&).

Error Message

The following error message occurs: “Error on Workflow ‘< is an unexpected token. The expected token is ‘;’. Line 1, position 194”.

Resolution

  1. Ensure you have K2 Five (5.1) installed.
  2. Download and install the K2 Five (5.1) November 2018 Cumulative Update from K2 Partner and Customer Portal.
  3. Download the K2 Five (5.1) November 2018 Cumulative Update FP3 from K2 Partner and Customer Portal.
  4. Install the K2 Five (5.1) November 2018 Cumulative Update FP3 to apply the fix.
  5. It is recommended to refresh the browser.

Considerations

K2 Workflows in error state need to be re-deployed and a new instance needs to be started.

 


0 replies

Be the first to reply!

Reply