action button is disabled when one of its action parameters is empty

0
Hi. I have a cleanup microflow on the popup Cancel button. It has 2 object parameters. The popup also has 2 parameters. When one of them is empty the Cancel button is disabled. How to force enable it?
asked
1 answers
0

Hi there,

Mendix currently doesn't let you pass empty parameters into microflows from pages.

 

A workaround can be done by having two separate cancel buttons, which you can hide/show if the objects are empty:

image.png

From this new cancel button, trigger a microflow which then calls the original microfow you wanted to use. This allows you to pass an empty parameter without disabling the button:

image.png

 

Hope this helps,

Liam

answered