Solved

K2 Five Workflow - Loop component is not splitting the collection values

  • 30 January 2018
  • 3 replies
  • 6 views

Badge +6

we are developing K2 five workflow in the sharepoint site. In the smartobject method component we are passing the current login user id and getting the group details of login user as a collection. we are passing the retived collection value in the loop. 

In our example the login user is part of seven groups , we retrived all the groups in the collection as id and group title as expected.

But while passing that collection reference in the loop component we are not getting the splitted groups title value. But the loop excuted the seven times.

icon

Best answer by tin 31 January 2018, 18:19

View original

3 replies

Userlevel 5
Badge +18

Please see the KB article below:


https://help.k2.com/kb002121

Badge +7

the links in the KB002121 for K2 5 are not working, does this mean this functionality does not work at all in K2 5 or the Info is not complete , or? Or? 

we are having a problem with this funcitonality and this article would be good to see. The K2 Cloud document does not coincide with K2 5 information... 

I've had issues in the past using the loop component. Different issues can occur depending on if you are using SQL or RESTAPI as the source behind the smart object. I would suggest obtaining the latest fix pack from K2 support before proceeding further.

Reply