Autofill input parameters submicroflow - Mendix Forum

Autofill input parameters submicroflow

11

When a submicroflow is added to a microflow, I would like the input parameters to be filled automatically.

Current process (example)

- Create a microflow ‘IVK_Project_Delete’
- Add input parameter $Project
- Drag in a priorly created microflow which has $Project as input parameter
- [Manual process to select the input parameter for the subflow]
- Double click the subflow
- Double click on argument
- Type $
- Double click ‘$Project’ (from a list of options of which only one fits the input parameter)
- Click OK
- Click OK again

 

Autofill option (idea)

Instead of having to go through the above manual process I would like to see an option which I can select in the modeler, or it can be standard, after which input parameters of a submicroflow get autofilled

- If there is one object or variable which meets the type of the input parameter, autofill it
- If there are more than one that meet the above requirement, autofill it with the nearest

asked
2 answers

Yeah, good idea.

Meanwhile, I have a tip for you:

- Create a microflow ‘IVK_Project_Delete’
- Add input parameter $Project
- Drag in a priorly created microflow which has $Project as input parameter
- Hit Enter (the subflow opens)
- Hit Enter (the ‘Select...’ button is triggered)
- Hit Enter (the currently microflow will be inserted again)
Your parameters are filled! And, as a bonus:
- Hit CTRL+Enter to close the popup.

To summarise: drag the flow, hit Enter 3 times, hit CTRL+Enter. :)

Created

A similar idea has been posted previously by Sjors: https://forum.mendix.com/link/ideas/1364

Created