Skip to main content

In my workflow i have added a reference to the Body of an email.

 

The reference is based on a Lookup of a Smartobject with a field of IDs

 

In the email that is sent, the result is: 211214 - a long string

 

These are seperate IDs (in rows) in the same column of the Smartobject 21, 12, 14

 

How do i split them so that they appear underneath each other?

21

12

14

 

Any help appreciated

 

Is there something i can put in which will split the results of a List Method and store them?

 

Thanks

 

 

Anyone know how to loop through a reference and add each item into ONE single email at the end?

Hello Sharpharp1, 


 


So this might depend a little on how you are manipulating the data and the data source itself, but have you tried using a workflow variable to store the data as you loop through it? In this scenario you could insert each ID value to the workflow variable so that after all of the looping has completed you can add that variable into one email event. After you add an ID value, you might also want to include a <br> tag which should create a new line so that the next ID value to be added will not appear on the same line. Essentially in the end, your logic should look something like the following for each loop pass: 


 


[WF Var] = [WF Var] [ID_Value] <br>


 


Thanks, 


Sam


Reply