K2 5 Workflow : Loop Item gives concatenated values for version 5.0

  • 28 October 2020
  • 1 reply
  • 71 views

Hi,

I used Loop in workflow and the Loop Item gives concatenated values. The table used to fetch values has a Primary Key and I used same field as Identifier. If the table has 10 records, the loop will run 10 times but the loop item reference will have all 10 records concatenated.

The K2 version I am using is 5.0, I have tried Loop in version 5.3 and it worked fine. Is there any reason why it does not work for version 5.0 


1 reply

Hi @venkatasubbiah 

 

I did some research and it seems as if this behaviour occurs when the reference's list method does not have an input property (filter) to retrieve a single record, so it returns all items in the reference, concatenated together, which is typically not what you need.

Have a look at the following KB:

https://help.k2.com/kb002121

 

Regards

HulisaniN

 

Reply