New Article On Windows Workflow

Lately, I’ve been spending my evenings with Windows Workflow. Hello, Workflow is a new, feature length introduction to WinWF.

The primary building block in Windows Workflow is the activity. All activities in WinWF derive from an Activity base class. Activities compose the steps, or tasks in a workflow. We can arrange activities into a hierarchy and feed the activities to the workflow engine as instructions to execute. The activities can direct workflows involving both software and humans.

Read more…

posted on Thursday, March 02, 2006 11:53 PM by scott

Comments

Saturday, March 04, 2006 9:24 PM by Dan Kahler

# re: New Article On Windows Workflow

Nicely done, Scott. You've fit a lot of information into a single article, without moving so fast that it's all a blur.
Monday, March 06, 2006 6:34 AM by scott

# re: New Article On Windows Workflow

Thanks for the kind comment, Dan. I was thinking I was putting everyone to sleep!
Monday, March 20, 2006 12:13 AM by Ajsab

# re: New Article On Windows Workflow

I havn't gone deep into WinWF but I could see that K2.NET is more comprehensive & advanced !!

I'm using K2.NET for my WorkFlow solutions ..
It is made to be very easy to use & work with, still it lacks the Mircorst ease-of-use touches
Monday, March 20, 2006 8:30 PM by scott

# re: New Article On Windows Workflow

Ajsab: Thanks for the info. I've heard there is some level of compatibility between K2.NET and WinWF. Is that true?
Thursday, March 30, 2006 2:10 AM by Nisha

# re: New Article On Windows Workflow

Good done! It become very easier to startup the working with WorkFlow.

Tuesday, April 04, 2006 8:53 AM by Howard

# re: K2

Ajsab fails to mention that K2.NET is a commerical product, whereas WinWF is a free add-on to VS2005.
Monday, April 24, 2006 10:40 AM by Jun Meng

# re: New Article On Windows Workflow

In WinFX Feb CTP, I cannot find the XOML file in the workflow solution. Do you know where it is? Thanks.
Monday, April 24, 2006 12:14 PM by Jun Meng

# re: New Article On Windows Workflow

Never mind. The default template for generating workflow file is code-only when creating a WF project from the beginning.
Tuesday, June 06, 2006 9:12 AM by Farhan Ghafoor

# re: New Article On Windows Workflow

Ultra Terrific Article – Was in need of exactly something similar and I enjoyed it a lot – infact I am feeling I am a work flow guru now. I have 13 years of experience, got the bottom line of work flow which is what you need after this many years.

Thanks a lot Scott for your time to do this cool write up.

Just wondering - do you have something similar for WCF ?


Wednesday, July 12, 2006 5:22 PM by Rusty

# re: New Article On Windows Workflow

Great introductory article, however I cannot get it to work with WF RC2.

I noticed some things changed a bit, but was able to work through it ok and get it to build.

When I try and execute this, though, nothing happens and CPU is pegged at 100%. I would love to see an updated version, so I can learn the error of my ways. ;-)
Wednesday, July 12, 2006 6:40 PM by Scott

# re: New Article On Windows Workflow

Rusty:

I will be updating this article, but probably not until after RTM.
Monday, August 21, 2006 5:06 PM by Sonali

# re: New Article On Windows Workflow

Thanks Scott,
It's a great article, it answered most of my questions and cleared some doubts. I am glad i found this article. I have a few questions.
The article mentions : <i>
we can host the designer and allow the non-developer types (a.k.a. business people) to design and edit workflows. </i>
Can we host the article in a web application?
That is i create my set of custom activities and create a web page that shows the designer with my custom activiteis and the standard one and any non-developer type person can use it to design and edit workflows ?
Is there some demo example of this, so that i can get a better picture of it.

One more question :: "Activities can be viewed as instructions to the workflow engine."
Are they part of the workflow engine or can we have a set of activity dlls that can be fed to a workflow engine?

Thanks a Lot
Sonali
Monday, August 21, 2006 5:45 PM by Sonali

# re: New Article On Windows Workflow

Hi Scott,

Is SQL server a must for running workflow applications ?

Or is it required only for the persistance and tracking services ?

Can we use some other database some other database like Sybase?

if we need sql server can we use sqlserver express or do we need the standard sql server ?

thanks
Sonali
Monday, August 21, 2006 5:55 PM by Sonali

# re: New Article On Windows Workflow

Thanks Scott,
Sorry there were some Typos in my previous question so i am posting it again

It's a great article, it answered most of my questions and cleared some doubts. I am glad i found this article. I have a few questions.
The article mentions :
<i>
we can host the designer and allow the non-developer types (a.k.a. business people) to design and edit workflows. </i>

Can we host the article in a web application?
That is i create my set of custom activities and create a web page that shows the designer with my custom activiteis and the standard one and any non-developer type person can use it to design and edit workflows ?
Is there some demo example of this, so that i can get a better picture of it.

One more question :: "Activities can be viewed as instructions to the workflow engine."
Are they part of the workflow engine or can we have a set of activity dlls that can be fed to a workflow engine?

Thanks a Lot
Sonali
Monday, August 21, 2006 5:58 PM by Scott

# re: New Article On Windows Workflow

Sonali:

There is no easy way to host the designer in a web form, but I think Jon Flanders worked out an approach on his blog.

You can create custom activities as "new" instructions for the workflow engine.

SQL is only required for the persistence service. Sql Server express will work. If you want to use Oracle or DB2, etc, you need to write a custom persistence provider.
Tuesday, August 22, 2006 10:32 AM by Sonali

# re: New Article On Windows Workflow

Scott,

Thanks for your quick and helpfull reply.

I saw the example by Jon but it still doesn't provide the end user (non - developer types)the capability to drag and drop activities and create links between them on the web page. Is what i am thinking of doing possible or will i have to use some third party tool to draw flowchart (using ajax technology like the GoDiagram tool by goWeb )and then use it to create a XAML file on backend.


I was also wondering if it was possible to send OPC data from one node (activuty ) in the workflow to another.

Thanks a lot,
Sonali
Monday, October 02, 2006 12:51 AM by Sowmya

# re: New Article On Windows Workflow

Hi Scott,

This is indeed a wonderful aricle on Workflows...i enjoyed reading it....very useful information for any beginner
Thursday, October 05, 2006 11:26 AM by Jay

# re: New Article On Windows Workflow

Scott,

If you can help me out from one doubt; which are the ways to store / save current workflow instance to retrieve it later. Even if i store instance id, how would Workflow will be able to retrieve and start process further from same state where i saved instance?

Regards,

Saturday, October 07, 2006 12:08 PM by scott

# re: New Article On Windows Workflow

Jay:

See my article on "Hosting Windows Workflow": http://www.odetocode.com/Articles/457.aspx.

You can use the builtin SQL Persistence service which serializes workflow instances to the database (or you can write your own to plugin as a service).