Welcome to Windows Workflow Foundation (WF)
Top Tasks :

Conditional Sequence Activity

File Details
Downloads: 2393 File Size: 73.6kB
Posted By: Anonymous Views: 7901
Date Added: 16 Jun 2006
Activity Information
Activity Author: Matt Milner
Company: Pluralsight
Description

This activity shows a sequence derived activity that allows conditions on child activities which indicate if the child should be executed.  The activity supports those cases where you have a defined sequence, but certain steps should not be run based on rules or conditions.  This sample is intended to show several things: 

  • Custom composite activity execution logic
  • Using attached dependency properties and providing the designer support to go along with it

The activity uses an attached property to allow the child activities to be extended with a WhenCondition property to indicate if they should be run.  This works much the same way as the CAG activity.  During the execution, rather then simply running through the activities in order, this activity finds the next executable activity evaluating the conditions to figure out which activities to skip. 

 

Comments
No comments exist for this file.

Add Comment

Name (required)
Web Site (optional)
Comment (required)
Add

Copyright © 2006 Microsoft Corporation. All Rights Reserved. | Terms of Use | Privacy Statement | Contact Us