Set value of boolean variable with a rule - Mendix Forum

Set value of boolean variable with a rule


Rules can be very useful in an application. Keeps the code clean. I'm a fan.

Sometimes I need the outcome of a rule in a variable for usage later in the microflow. Currently I would need 4 microflow activities for this.

So I make sub microflows that do this, but why not directly create (and maybe also change) a boolean variable from a rule.

I know this would be a super tiny improvement that won't affect a lot of developers, but maybe it's super easy to implement ;)

3 answers

Great idea, would be nice if we could apply rules in more places.


Seems like a great idea, could be used for so many scenarios


I know another place where rules would fit in very nicely: as a list filtering condition!