When running a loop in a workflow, I have set up a reference and then in the loop created an item for the reference.
However any data I read from the item is just a huge combination of all list items, instead of just a single record.
When running a loop in a workflow, I have set up a reference and then in the loop created an item for the reference.
However any data I read from the item is just a huge combination of all list items, instead of just a single record.
I think we will need some more info... like how you set up the loop and the data fields, and what you are trying to do with the fields within the loop.
Hi,
I'm guessing the data coming back from item reference is in an array similar to this one 'item1item2item3item4'.
Maybe the below links might help.
What I have is a WCF service that returns a List of DTO's.
I create the reference and then loop through the results to update Statuses, using BankReference as an Identifer.
I feel like I've done everything by the book.
Ok, after running checking, it seems like the List is all being dumped into one record and not creating a list at all.
This is driving me insane. I have the 'Key' setup in the smart object and have used it as the Identifier.
I have no explaination why it just keeps concatonating the list.
The List method accepts a Date as the input to get results.
It should returns a list of Bank References which will ALL be unique. Why can't K2 five loop through those using the Bank Reference?
I've read the help files for the Sharepoint workaround etc etc, and its clear as mud. Help@
Did you ever get this figured out?
I'm having a similar issue where I get a list of data items (coming from WCF service returning an array of objects) but each item has the ENTIRE list concatenated together. I have been banging on it for 2 days and still no progress.
In case anyone else runs into this, I did find the solution.
After going through support, I was directed to the following workaround. Basically, you need call the web service from inside a Join function to create a delimited string. The loop can iterate the string.
https://help.k2.com/support-services/kbt138442
To vote up a proper fix to this issue: https://ideas.k2.com/ideas/APIT-I-624.
Cheers!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.