Parameters in Microflows

0
Probably a stupid question but I want to create a Microflow (MF) to create and fill a entity with data. Most of the values for the attributes of this entity will be provided by parameters. One of these parameters is a unlimited string. How does Mendix handles the working of these parameters? Will Mendix really first copy that data into memory or will it use the pointer that points to that data in the calling Microflow? I wonder because if Mendix really takes a copy then maybe it's better to create the entity and fill that created object in the calling MF.   Example: MF1 has an unlimited string that is filled with a large string From MF1 I call MF2 (that will handle the creation of the object and fill some attributes) If I provide in that call this unlimited string, will Mendix have this unlimited string 2 times in memory or will both point to the same memory-block(s)?    Maybe it's not so important these days but I wonder how it works in Mendix. 
asked
1 answers
2

If the string is in a variable and that variable is passed to the second microflow that variable is not copied. It is just passed along. The same if the unlimited string is an attribute and the object containning that attribute is passed. But if the second microflow parameter is a string and in the first microflow the string is in an attribute of an entity then the value is copied. So all depends on how you pass the parameter.

Regards,

Ronald

 

answered