Jon Flanders' Blog

Dave said it could be done, so I had to do it ;-)

Wednesday, September 21, 2005 5:30:03 AM (GMT Daylight Time, UTC+01:00)

If you are interested in WWF and workflow - you should definitely (if you haven't already) read Dave Green's blog.  Dave is an architect on the WWF team, and quite the smart guy.

In this post - he said WWF was flexible enough to allow for a random workflow execution. Well - I guess I kind of took that as a challenge.  Fun stuff.  This (RandomWorkflow.zip (49.22 KB)) project has a project in it where the workflow will execute all child activities in a random order.  To what purpose?  None really - just having fun trying to implement an IRootActivity and the random executor sounded like fun.

One quick tip, if you are building an IRootActivity (this is what is allowed as the top level of a Workflow - it really is an Activity that implements that special interface), build it in a non-workflow project (just a regular C# or VB.NET class library project).  In a workflow project - the workflow project system won't let it compile because it detects there isn't an ID set on it.

WWF   #    Comments [0]