Why is there a one-to-many relationship between Task entity and SLAStatus entity in SLA use case

0
Hi, forum, I encountered a little confusion when I was learning the "Build an App in Mendix Studio" learning path,that's Why is there a one-to-many relationship between Task entity and SLAStatus entity. Shouldn't there be only one SLA status at the end of each task?Has anyone encountered the same confusion as me?
asked
1 answers
0

Because the status is an enumeration, which means it’s a collection of constant, static strings. And a Task, can and will normally go trough different of these Statuses, f.e. from “Doing” to “Finished”. So a Task can have many statuses. But each status is, in this model, only given to one Task.

Hence: one-to-many.

answered