Custom automatic captions for microflows and java actions - Mendix Forum

Custom automatic captions for microflows and java actions

0

Currently, microflow and java action call captions default to just the name. They are less descriptive than built-in actions like create/change object where at least the affected members become part of the caption.


We propose a new property for microflows and java action calls: a string expression where the parameter sub-expressions are accessible as strings and the author can concatenate them to get the custom caption.


Suppose we call CommunityCommons.MonthsBetween with the params:

date1=[%BeginOfCurrentYear%], date2=[%CurrentDateTime%]


Then the CommunityCommons authors could go to the "Expose as microflow action" tab of this action and change the caption 'Months between' to:

'Months between date1=' + $date1 + ', date2=' + $date2

and the automatic caption would be what we have in the previous code block above.


asked
0 answers