How to create an object in a microflow with one-to-many association?

I have a list of IT_JsonObject and I want to assign it to an object of type IT_DataPointDetails. But when I try to create an object of IT_DataPointDetails it does not give me an option in the new member dropdown to select the IT_JsonObject_IT_DataPointDetails association. Is there another way to do that? I need to pass this list of IT_JsonObject to a POST Api call.
1 answers

You will have to iterate over the list of IT_JsonObject and then set the association with IT_DataPointDetails for each of the iterator object.