The Problem SolverWIndows Workflow Foundation
HomeShow ChangesPrintRecent ChangesSubscriptionsLost and FoundFind ReferencesRename

Search

History

31-7-2008 11:38:3131-7-2008 11:35:3014-5-2008 11:49:1413-5-2008 14:58:4223-4-2007 8:33:02

List all versions

Replicator Activity
.
Summary

The ReplicatorActivity activity enables you to create an arbitrary number of instances of a single activity during run time. Each ReplicatorActivity activity can contain only one child activity, but the child can be a composite activity.

By default, the ReplicatorActivity activity finishes when all child activities have finished. You can use the UntilCondition property to stop execution of the ReplicatorActivity before the completion of the child activity instances. For more information about conditions, see Using Conditions in Workflows.

The ReplicatorActivity can be used in two ways, in Sequence or in Parallel. Use the ExecutionType property to determine the way it is used. If use in sequence the CurrentIndex can be used to see which item we are executing as found in the CurrentChildData. Note that when executing in parallel the CurrentIndex always points to the last item.

Note
The Replicator Activity activity hangs if all the child activities have finished and the Until Condition property evaluates to false. Once the Replicator Activity activity has hung in this manner, you can use a workflow change to add a child activity to the Replicator Activity activity that will cause the Until Condition to evaluate to true.

But it works only with state machine problems.

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