Extract a rule from a decision - Mendix Forum

Extract a rule from a decision


I would have an option to extract an existing rule of a decision element to a rule, to support re-using defined logic. For example: i defined how to compare if two objects are the same by comparing 4 attribute values. As I need to used that on different places I would like to define it as a separate rule and not having the logic inside a decision element anymore. For that I would right click on a decision element and select ‘Extract Rule’ from the menu. I can enter a name for the rule and save it. The rule is created and automatically used in the decision where i extracted it.




0 answers