Add multiple entities and lists in a singular Change list or Join microflow action. - Mendix Forum

Add multiple entities and lists in a singular Change list or Join microflow action.

0

Right now if you have an empty list and you want to add multiple entities to it, you always have to do this in separate steps.

I would like the ability to combine multiple items into a single add to list statement.

As an example I have a list of entities with entity
$List1 = [1,2,3] then I have a bunch of single entities
$entity1= 4,
$entity2= 5,
$entity3= 6 and another list
$List2 = [7,8,9]

I then want to be able to say “Change list” = pick any of the relevant options, which I think are just “Add” or “Remove”
And then I would like to be able to just say: $List1,$entity1,$entity2,$entity3,$List2
Resulting in a new list containing [1,2,3,4,5,6,7,8,9]

It would be very helpful if there was a generic API for JAVA that would allow for configuring a variable amount of parameters. So that we could build JAVA actions that can do this behavior described above too.
 

asked
0 answers