how to process document state transition?
Posted
by
brick
on Programmers
See other posts from Programmers
or by brick
Published on 2014-04-18T08:05:08Z
Indexed on
2014/06/01
21:55 UTC
Read the original article
Hit count: 416
Imagine there is an application (ASP.NET MVC) that processes some documents. The document must be revised several times by different group of users.
state/role rules:
- simple user can only publish document; (priority: low)
- userGroup1 can switch it to next state or reject it; (priority: higher)
userGroup2 can confirm previous state and switch it to next gradual state or reject it; (priority: highest)
How to implement such a workflow in
ASP.NET MVC? How to impelementUI,viewsso that group with lower priority can both visually/technically perform onlyallowed transitions? Can I somehow extend that system: link?Do I need extras like service bus, event sourcing for that?

© Programmers or respective owner