Calling MFs from Widget in Mx5

0
I've noticed that if I try calling a microflow with only one guid, where the microflow is expecting a list, the guid does not pass through to the microflow. However, with two or more guids, the list parameter is received (as I can see with tests and via the debugger). What gives? mx.data.action({ params : { applyto : "selection", actionname : this.mf, guids : guids } });
asked
1 answers
0

I just remembered that I think this is the way that Mendix works. Other than learning the implementation decision (which I don't necessarily need to know), I think this problem is solved:

The answer is that my widget should require two microflows: 1 for multiple guids, and 1 for a single guid. Then call the appropriate microflow.

Please mark as solved, or delete.

answered