[WF4]Long Running WF4 Host

In WF3, when a workflow is delayed and persisted in persistence store, after the timer expired, workflow will resume from database automatically.Now in WF4, we have to resume a persisted workflow manually, So can we create a long running WF4 that can monitor a delayed workflow and resume a workflow ... [More]

[WF4]My Composite Activity

Activity Designer: <sap:ActivityDesigner x:Class="MyActivityLibrary.MyCompositeDesigner"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     xmlns:sap="clr-namespace:S... [More]

[WF4]Promote persistence Data

By promoting data,we can query sql persistence store directly: 1. My persistence participant:     public class MyPersistenceParticipant : PersistenceParticipant {         public string message;         static XN... [More]

[WF4]Xml persistence store

Many people want to store WF4 persistence data in xml file rather than in Sql Server(express). So I extract the xml persistence store code from the sample "PurchaseProcess".XmlWorkflowInstanceStore.zip (4.72 kb)Before using this xml persistence store, you need to set up the data folder in App.config... [More]

[WF4] WF4 Videos

endpoint.tv - Workflow and Custom Activities - Best Practices (Part 1) endpoint.tv - Workflow and Custom Activities - Best Practices (Part 2)   endpoint.tv - Workflow and Custom Activities - Best Practices (Part 3) endpoint.tv - Workflow Services with Dav... [More]

[WF4]Authoring WF4 using imperative code(II)

Half a year ago, I demonstrated authoring workflow using imperative code . Today I want to talk some further more about authoring WF4 workflow using imperative code. The main focus of this article are two classes: Activity and DynamicActivity. Activity We can create a Sequence activity dynami... [More]

[WF4]How to add a generic List Type Variable

Here is the problem: I have a Person Class: And, I want to add a List<Person> type WF4 Variable peope to sequence, just like this: Solution: Step 1.Select Browse for types... in the Variable type list. Step 2. Step 3. Navigate to Person class and select it.