12

We are in the process of selecting a workflow solution for a company that uses Microsoft products end to end. Given the news on WF4, in that it seems to be essentially a rewrite of previous versions, is it a wise move to back the current version or should we be looking elsewhere?

Ie - is the current version so bad that we would not be wise to try and use it?

AnthonyWJones
  • 187,081
  • 35
  • 232
  • 306
KevinT
  • 3,094
  • 4
  • 26
  • 29
  • From what I have read, WF4.0 will support custom activities from WF3.5 http://channel9.msdn.com/pdc2008/TL17/ – Tundey Jan 15 '09 at 13:28
  • Another question with relevant info: http://stackoverflow.com/questions/560031/windows-workflow-is-this-a-good-time-to-start –  Jun 02 '09 at 17:02
  • What that project needs is a magic unicorn. Code-only, fluent API, simple use & deployment. Adding a single "fabric" view to IIS7 doesn't qualify either, someone needs to spend some time in a yurt with some peyote and Steve Jobs. – James White May 27 '11 at 13:20

7 Answers7

11

Haiving just launched a project which .NET 3.5 and workflow I'd say that the current release of WF is good enough to use and run with. It has helped us to get a product out quickly (we have the usual feature creep and requirements changing weekly). However, I have a list of complaints with it:

  • The workflow designer will drive you insane because it is so slow (in certain circumstances) and re-arranges your state machines as it sees fit.
  • There is no built in upgrade strategy for keeping your old workflows running once you do a bug fix release. If you are going to use WF think carefully how to do upgrades early.
  • Itegrating with WCF (the send and recieve activity) hide the WorkflowRuntime from you this makes it very difficult to understand what is going on on the hood.
  • Its not easy to unit test them. There are ideas out there but none seemed particulary easy when we started this WorkFlow Unit Testing

I like the ideas and potential of Workflow based development, however I am not in a hurry to repeat this experience and would probably stick without it for long running processes. One place I would use it again would be in a short, complicated process (like a rules engine for working out prices).

Community
  • 1
  • 1
gbanfill
  • 2,216
  • 14
  • 21
  • Good summary - I also found integrating with WCF to be difficult to understand. – Rob Jan 15 '09 at 14:46
2

Maybe it is a little late for you, but now that WF 4.0 is released in beta, other people thinking the same question can consider backing the 4.0 horse instead of 3.5 horse.

This goes some way to fixing the following problems:

•The workflow designer will drive you insane because it is so slow (in certain circumstances) and re-arranges your state machines as it sees fit. [Designer Perf Improved]

•Its not easy to unit test them. There are ideas out there but none seemed particulary easy when we started this WorkFlow Unit Testing [I think it's a little easier now, some of the introduction to workflow samples include plenty of unit testing]

Community
  • 1
  • 1
1

My understanding is that Microsoft will provide backwards compatibility and/or a migration strategy to the new WF, so I would guess that you are safe to use it. However, I have heard from other developers in my organization that the current version of WF is extremely painful to use. If you have the budget (and depending on the complexity of your workflows), you may want to consider K2: http://www.k2.com/en/index.aspx

user19371
  • 284
  • 2
  • 4
  • 3.5 and 4.0 will run side by side. There will be bridges between the two, but there doesn't seem like a direct upgrade path from one to the other. –  Jun 02 '09 at 17:04
1

I, as a workflow developer, think that current version is painful to use. This is not surprising as this is a v1.0 software out from microsoft :)

I think you should first consider your expectations from a workflow software. Do you have a well defined list of expectations from WF? Acutally I am wondering content of such a list. Maybe we can help more detailed on each topic.

Onur Bıyık
  • 371
  • 4
  • 16
  • Painful is describing the 'coding' experience lightly! Sure it runs well, but the pain of the making it (and I even tried hand coding them, but VS chokes too) is making me suicidal... – leppie Jan 30 '09 at 22:34
0

I don't know why people have such negative impressions about WF. Sure it has it drawbacks, but I thought it was pretty useful. The one major issue I have about it is the lack of support for upgrading existing workflow (bullent #2 in gbanfill's list).

Tundey
  • 2,926
  • 1
  • 23
  • 27
  • They are not just negative impressions. They are real problems inherent in WWF and its not surprising that these issues are present since this is just the initial version. – Lonzo Jan 30 '09 at 11:46
0

Another point to use the current version is that "Dublin" (Microsoft new App Server) will be built on WCF & WF .NET 4.0 but will gladly host 3.5 WF's. So you will be able to migrate to that without a rewrite.

Robert MacLean
  • 38,975
  • 25
  • 98
  • 152
0

Just a quick note to mention that Visual Studio 2010 CTP contains a new updated WF designer as part of the Oslo objective.