Resolve events disorder
gdlcf88 opened this issue · comments
Super commented
- Restrict states to have only one-way dependencies. If transitioning from State1 to State2, it should not be possible to transition back from State2 to State1.
- If we receive a state update event out of order (event.StateUpdateTime < process.StateUpdateTime), we will only add a new state history entity without updating the process entity.