EasyAbp / ProcessManagement

An ABP module that helps define and track business processes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Resolve events disorder

gdlcf88 opened this issue · comments

commented
  1. 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.
  2. 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.