The Problem SolverWIndows Workflow Foundation
HomeHide ChangesEditPrintRecent ChangesSubscriptionsLost and FoundFind ReferencesRename

Search

History

21-10-2006 14:31:2421-10-2006 14:27:5021-10-2006 14:20:20

List all versions

Workflow Inconsistencies
.
Summary

Check out the formatting tips on the right for help formatting and making links.

There are a number of things in Windows Workflow Foundation that appear to be a bit inconsistent to me.

Use the template below:

For example adding child Activities to a another.

A WhileActivity can only contain a single child activity, the same is true for a ReplicatorActivity. However a IfElseActivity and a ListenActivity can contain multiple child activities. Now the difference doesn't matter much as the single activity in the WhileActivity or ReplicatorActivity can be a SequenceActivity which in turn can contain multiple children but still it's confusing.

When a ConditionedActivityGroup is used you drop whatever activities you want in and these activities gain an extra property, the WhenCondition. On the other hand with the FaultHandlers you drop a FaultHandlerActivity in the top, set its FaultType and drop the activities you want to execute below. By the way the same difference as above applies, the ConditionedActivityGroup accepts a single child activity for each branch while the FaultHandlers accept multiple children for every FaultHandlerActivity.

Summary

There are a number of things in Windows Workflow Foundation that appear to be a bit inconsistent to me.

For example adding child Activities to a another.

A WhileActivity can only contain a single child activity, the same is true for a ReplicatorActivity. However a IfElseActivity and a ListenActivity can contain multiple child activities. Now the difference doesn't matter much as the single activity in the WhileActivity or ReplicatorActivity can be a SequenceActivity which in turn can contain multiple children but still it's confusing.

When a ConditionedActivityGroup is used you drop whatever activities you want in and these activities gain an extra property, the WhenCondition. On the other hand with the FaultHandlers you drop a FaultHandlerActivity in the top, set its FaultType and drop the activities you want to execute below. By the way the same difference as above applies, the ConditionedActivityGroup accepts a single child activity for each branch while the FaultHandlers accept mutiple childeren for every FaultHandlerActivity.

Wiki Usage

This wiki site is supposed to be a shared resource. As a shared resource everyone is encouraged to add new content or modify existing content!

Enjoy the WF wiki.

Recent Topics