ander
ander

Reputation: 13

Need some ideas about a workflow design

I want to start building a technical support application as a personal project, using Windows Workflow Foundation 4 for implementing the business process.I'm very new to WF and BPs but that's why i am doing this. Did some research and I found that a state machine workflow will be best suited for this as it is a long running process with lots of human intervention. So basically the flow I thought of will be like this:

Upvotes: 1

Views: 334

Answers (2)

Marcus K
Marcus K

Reputation: 779

I found this worked example useful for hosting a WF4 service under WCF. It also covers a number of key concepts you can explore further:

http://programming4.us/Enterprise/332.aspx

Upvotes: 0

TrueWill
TrueWill

Reputation: 25523

First, I'd recommend picking up the book Pro WF: Windows Workflow in .NET 4.0 and working through the tutorials (if you haven't yet). While it's not perfect, it covers many of the important topics.

For a long-running process you're almost certainly going to want to implement persistence. Otherwise if your server goes down, running workflows disappear. Also consider hosting under IIS.

Subscribe to The Problem Solver and check out his answers on SO. He also has an Introduction to WF 4 video series. There are several videos by others on Channel 9, too.

State Machine doesn't come out of the box; it's a separate download. It's not required, though - you could use Sequential, Flowchart, or a combination to achieve what you want.

Be prepared to write custom activities. (See the Channel 9 videos, especially Leon Welicki's.) You'll have to implement security, locking, worklists, etc. if those are part of your requirements. WF is not a BPM system out of the box.

Finally, don't be intimidated. This is all doable, and WF 4 is a well-thought-out framework. Just be prepared to spend considerable time learning and implementing this.

Upvotes: 1

Related Questions