I am trying to use the smart object method in the workflow , and use it in loop.
The loop items output are coming as whole string and not as a list, though the method is a type of list.
I have attached the screen shots of the configuration of loop, smart object and the email that is received.
Can someone please help me understand why are items are shown as a whole string and not as list.
Thank you.
Best answer by DavidL2
I suspect the problem may be where you have defined the CollegeEmails reference which is not shown in the screen shots. There is a setting in there labeled "Identifier" and the item in the drop down must be the property that uniquely identifies each row (like the primary key).
I accidentally made this mistake a few days ago and the values came out as a string like you are seeing.
First thing to confirm is if you run the SmartObject method via K2 Management, does it give you the results you expect there? Just to make sure all is well on that end before we troubleshoot further
I have attached the screenshot of the results when I run execute method. The output is perfect. but I don't understand why workflow outputs that way, as a whole string.
I suspect the problem may be where you have defined the CollegeEmails reference which is not shown in the screen shots. There is a setting in there labeled "Identifier" and the item in the drop down must be the property that uniquely identifies each row (like the primary key).
I accidentally made this mistake a few days ago and the values came out as a string like you are seeing.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.