Hi,
With the new addition of optional parameters I think Mendix needs to revisit how parameters are shown when calling a Microflow / Nanoflow / (soon to be Page).
- A way to properly order parameters (instead of by order of adding to the flow).
- Separate out Required / Optional parameters (At the minute the list is joint and not easy to tell apart).
- Show default values for optional parameters.
- Ability to see the parameter description / documentation.
This is only going to get more complex with primitive parameters for pages as well and really needs reworked.
Thanks,
Adam
Hi John,
I've seen the update and showing if the mf param is optional / required is definitly a good step.
Sorry my post wasn't very clear, I meant for it to be a bit more focused on from where the microflow is being called from. Eg sub microflow call or calling a mf from a page.
See the example of my SUB_Log:
But these details aren't immediatly available
Thanks,
Adam
Thanks for the feedback! From SP 11.11 onwards we visually distinguish between required and optional parameters, so this should be a bit easier now.
Good suggestions regarding showing the default value and/or documentation field - would you see this as a tooltip on hover? Something else? There are UX considerations to keep things visually simple, but understand users have a need to see more at a glance.
Bumping this to hope it gets more traction, I'm still constantly struggling to do sub mf calls without opening the sub mf to see exactly what is optional / what default values there are
Agree.