LavanyaC
Novice

Smart object service method list output variables in whole string and not as list

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.

 

Labels: (1)
0 Kudos
Reply
3 Replies
tbyrne777
Contributor

Re: Smart object service method list output variables in whole string and not as list

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
0 Kudos
Reply
LavanyaC
Novice

Re: Smart object service method list output variables in whole string and not as list

Hi @tbyrne777 

 

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.

 

Thanks,

Lavi

0 Kudos
Reply
tbyrne777
Contributor

Re: Smart object service method list output variables in whole string and not as list

Where are you creating that "CollegeEmails" reference used in your loop?
0 Kudos
Reply