Decision Table Example – Vacation Days (part 2)

Part 1 showed how a decision table can express the complex business rules involved in calculating someone’s annual leave entitlement.

The decision table is accurate and easy to read, but here is another way to write the same logic in a decision table. Both methods are directly equivalent and are efficient ways to communicate logic for programmers.

Now see how RapidGen can take this one step further and directly execute the decision table without needing to rewrite any code.

Read More