Object not added to empty list

0
I have a (SUB) microflow that accepts a list of objects of type PlaceHolderDataObjects as well as a single PlaceholderDataObject (Non Persistent Entity). At the beginning of the flow I check if there is a single object provided and want to add it to the list. The Add to list action triggers, but the object is never added to the list for some reason. See screenshot: I would really like to keep the flexibility of being able to input a list or a single object in the calling microflow. What is causing this behavior?
asked
2 answers
1

Hi Niklas,

So the debugger's variable is quite confusing with this matter. If your list is not instantiated, you can not edit it. In your variable, both uninstantiated and lists with no objects in it shows as empty

answered
0

It seems as if when providing a list with value empty to a microflow that list cannot be modified. So I created a workaround that creates a new list and add objects to that.

image.png

answered