I retrieve a list of objects in a microflow, when the list is not empty I will sent an email to inform the users of the found objects.
The action to sent the email has an argument to set the text for the email. I want to text to be something like:
'Dear user, we found '+ $numberFound + ' objects' +
'The found objects are ' +
for(result : resultList) {
'$result/name '
}
Would it be possible to iterate over the list within the argument editor or do I need to create the result names outside this action and use that variable in the argument editor?