I have an ASP.Net MVC application manages process of forwarding some business entities to one another partner. At beginning of the process, the forwarding partner sends a request to every other partner. There are many receiving partners for the forwarding request, but only the first partner who responds with ACCEPT token will enter into the contract with the sending partner. When this happens, the process enters ACCEPTED state. When the process goes into ACCEPTED state, the same request previously received by other partners will enter into Cancelled state.
I am thinking using Windows Workflow Foundation to do this, but I am not sure if I should use one flow or multiple flows associating with the forwarding request flow. If multiple work lows are required, should they be all with the same structure, states, events, handlers, etc? Any flow executes Accept method enters Accepted state, and triggers all other flows' Cancel events.
Can this be done? Any other recommendation? Thank you.
View Complete Post