Freeform Custom Activity Designers using ICompositeView

[This post is Part 1 of a series on writing custom activity designers. Part 2 – Part 3 – Part 4 – Part 5 – Part 6 – Part 7] Motivation: Building an activity like Flowchart Creating composite activities and designers in Workflow Foundation 4.0 is really easy when you use WorkflowItemPresenter and WorkflowItemsPresenter. (Seriously….


The Trouble with System.Activities.ForEach (and ParallelForEach)

(Subtitle: Why you need IActivityTemplateFactory) Another forum post reminded me of one thing about ActivityAction that throws me for a loop every time. Every time, that is, that I’m rehosting workflow designer or creating new custom activities, so maybe not that often but it’s kind of annoying. Imagine, here’s us, creating a toolbox for our…


Workflow Scopes and Execution Properties

or, Workflow Execution Properties for custom data passing. I wrote this after seeing a few forum posts from the Workflow Foundation Beta Forum on the same basic theme. Workflow 4.0 Arguments and Variables certainly do work for passing data to and from Activities in your workflow – but sometimes they don’t feel easy enough to…