Using decisions to navigate your application logic
Decisions will split or join flows of logic in your microflow. At a decision point, there is usually some sort of evaluation of a condition that could have multiple outcomes. It could be a true or false scenario or a possibility of options in an enumerated list. The outcome could even be the calculation of some complex expression. For now, you will learn how to use decision elements called decision splits to validate the data fields on your member and phone number objects. This will ensure that when members and phone numbers are saved, they will not have blank data fields.
Validating phone number on save
Follow these steps to add some validation logic to the Act_PhoneNumber_Save
microflow:
- Navigate to the
Act_PhoneNumber_Save
microflow in Mendix Studio Pro 8. - Right-click in the microflow.
- Click Add.
- Click Activity.
- Double-click the activity.
- Choose select Type of Action: Create Variable.
- Drag...