Jim.Qian
Hi, Vee,
The basic purposes of Windows Workflow Foundation or any other workflow products in the market are:
(1) centralize the business process handling in a central place rather than spread around anywhere in your application.
(2) handling dynamic buseness processes, which means your (or your clients') business logic changes frequently. Rather than rewrite your business layer code again and again, for example you can setup meta data and rules and have workflow engine handle the dynamic changes without changing your business layer code.
(3) by changing your code, you are doing it in a developer's way.
In many business secarios, non-developers (business users) have the requirement of changing the business flow without the involvement of developers. Many workflow products provide workflow designer tools for business user/developers to compose workflows without much code (of course it depends on how complex your workflow is.)
With WF, you the developer may set up all the workflow packages, then the business user just pick the right one from a list of ready-to-use packages ;
Or the business user may compose his/her own workflow packages based upon the atomic activities that you the developer that has coded for him/her.
So the final answer is, it depends on your project. If your business require a dynamic and changing process, WF sure helps a lot. If your busines process is static and you don't expect it will change soon or that often, of course using WF will complex your application archtecture, it might not worthy of doing it in your project.
Jim.Qian