If else with mendix

0
Hi, I have to compare between two attributes of the entity having three attributes. e.g. I have an entity "Type" and it has three attributes like Type1, Type2, Type3. if the user selects Type1 then do this else if the user select Type2 then do something else. My example seems silly. But i want to know how we can compare with if else logic in mendix.
asked
1 answers
2

In a microflow, you can use a series of Exclusive Splits. So have one exclusive split that looks at Type1 attribute, and based on the value of that or the result of a boolean expression you write in that exclusive split, you can follow the correct logic branch. Then, in the 'downstream' branches, you can have more if then else logic.

answered