|
|
Conditional Sequence Activity
File Details
| Downloads: |
2393 |
File Size: |
73.6kB |
| Posted By: |
Anonymous |
Views: |
7901 |
| Date Added: |
16 Jun 2006 |
|
Activity Information
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.
|
|
|