ContextMapper / contextmapper.github.io

The ContextMapper Documentation Page
https://contextmapper.org/
MIT License
14 stars 11 forks source link

documented states and link incorrect #95

Open ambition-consulting opened 2 weeks ago

ambition-consulting commented 2 weeks ago

in _docs/language-reference/aggregate.md there is a section about states

// an initial state:
-> CREATED

// simple state transition from one state into the other
CREATED -> CHECK_REQUESTED

// the left side can contain multiple states:
// (this means that the state on the right can be reached by any of those on the left side)
CREATED, CHECK_REQUESTED -> CHECK_IN_PROGRESS

// multiple target states possible
// X stands for XOR and means one OR the other will be reached but not both at the same time (exclusive OR)
CHECK_IN_PROGRESS -> ACCEPTED X REJECTED

// target states can be marked as end states with a star:
CHECK_IN_PROGRESS -> ACCEPTED* X REJECTED*

// a combination of multiple on the left and multiple on the right
CREATED, CHECK_REQUESTED -> ACCEPTED X REJECTED

this does not align with the previously defined and subsequently visualized possible states.

Also, this link is incorrect: You can also model the state transition inside your [event flows in the application layer](https://contextmapper.org/docs/aggregate/).

It should probably go to https://contextmapper.org/docs/application-and-process-layer/