I have multiple strings that I would like to add each as an item into a list.
I tried separating them with commas with the "Add Item to list" Action, but it treats them all as one long item. I have tried several formats.
abc, def, ghi "abc", "def", "ghi" %"abc"%, %"def"%, %"ghi"%
But they are all added to item 0
Interestingly enough, when adding exiting variables, it does work.
I doubt the only option is to use a separate action for each. Or alternatively import them from a csv file.
Any help would be greatly appreciated.
Solved! Go to Solution.
Also, when using "set variable" you are not really adding an item, just manually inserting items at known location.
While it may work for initial list, if you do it with populated list it will overwrite items. not merely append an item to the end of the list.
This syntax is not working for me. I want to create a list with the values CH and UK. When I add each one in a separate Add Item to List action, I can display each value separately in a loop. When I put in %['CH','UK']%, the items are concatenated. Can anyone help? I don't want separate actions for every item I put in.
Hi. Thank you, it works! It adds it as a list within a list, so I did a for loop on each item in the list to add it as an individual row. Thanks.
Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Attend in person or online, there are incredible conferences and events happening all throughout the month of September.