Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 83469

Expressions: Iterate over a list

$
0
0

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?


Viewing all articles
Browse latest Browse all 83469

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>