I have a query, hope you guys will help me out. I am doing an Outlook email automation and using Send Outlook Mail Message, in this activity I am passing the variable generated from Create HTML Content activity in email body. I have 2 List (one for Name and one for NIC number and both list have 5 items only) that I have to pass in Create HTML Content as argument… I just wanted to know what will be the syntax to pass a list in Create HTML Content, also I am not getting the desired output on Email from following syntax below.
Zip(names.Zip(ages)) will create a tuple from the given lists…like List1{1,2,3} and list2(a,b,c} now zip will create an enumerable of tuples {(1,a),(2,b),(3,c)}
Then From this enumerable I am selecting(.Select(function(x) dt.Rows.Add(x.Item1,x.Item2)))…or trying to get each tuple and then adding the values as datarow to the datatable dt1(dt.Rows.Add(x.Item1,x.Item2))
Select will get each item…and for each item a datarow is created…now using copytoDatatable I am adding all the rows generated to a datatable