This is a discussion on State pattern for business workflow process within the Software Patterns forums, part of the Testing category; Any thoughts on the applicability of using the State pattern for implementing a typical workflow process? We have a problem ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
State pattern for business workflow process
Any thoughts on the applicability of using the State pattern for
implementing a typical workflow process? We have a problem domain which states that a document needs to be routed through various individuals/departments for approval or modifications. Could the state pattern be used for encapsulating the various states that the document is routed through? Events on these states would be the individuals actions (through a UI) as it progresses between the departments. Any experiences with such an implementation? Any implementation examples available or any recommended resources on the web? Thanks. |
|
|||
|
Re: State pattern for business workflow process
State pattern would be very suitable for your application.
More details about the implementation of the state pattern can be found at: http://www.eventhelix.com/RealtimeMa...ateMachine.htm Deepa -- EventStudio 2.5 - http://www.EventHelix.com/EventStudio Generate Sequence diagrams from a simple declarative language |