Default value for input parameter - Mendix Forum

Default value for input parameter

5

The idea is to allow a default value for an input parameter, except when it's type object or list.

The result is that this parameter does not always have to be filled, because it has a default value.

 

Example case 1: We use a microflow in 77 places to create a report. When we need an input parameter in the form of a boolean to this microflow (which is false most of the times for this case), we want to provide a default value, so that we don't have to change 77 microflows with a value.

 

Example case 2: Integer value to calculate with in a microflow which has a default of 1. So, when the default is unchanged, this does not have to be handled within the microflow itself (like an empty check – setting default)

asked
0 answers