Help
Replicator Activity
Help menu
- Help content
- AS2
- Examples and Tutorials
- IO Queues and Forms
- Maps
- Schemas
- Send and Receive Ports
- Send and Receive Ports / Transports
- Servers
- Static Configuration
- Tracking
- Workflows
- Workflows / Workflow Activities
- Call Web Service Direct Activity
- Compensatable Sequence Activity
- Compensatable Transaction Scope Activity
- Compensate Activity
- Conditioned Activity Group
- Database Activity
- Delay Activity
- Event Handling Scope Activity
- Event Driven Activity
- Expression Activity
- Fault Handler Activity
- If Else Activity
- Increment Activity
- Invoke Web Service Activity
- Invoke Blue Integrator Workflow Activity
- Invoke Workflow Activity
- Listen Activity
- Map Activity
- Parallel Activity
- Policy Activity
- Send Receive Port Response Activity
- Replicator Activity
- Send Receive Port Response Activity
- Send Port Message Activity
- Sequence Activity
- Suspend Activity
- Synchronization Scope Activity
- Transaction Scope Activity
- While Activity
The Replicator Activity is similar to a foreach programming statement in that it creates and executes multiple instances of a specified child activity. The Collection is prepared and populated using the Initialized handler method. For an example handler see Workflow Basics – Code Snippet.
During execution the replicator fires an event to signal the initialization and completion of each child activity. These handlers are set in the ChildIntialized and ChildCompleted properties respectively. If the UntilCondition property is set the activity will not finish until the condition evaluates to true, so care must be taken that UntilCondition is true when all child activities are completed. If UntilCondition is true before the child activities are all finished, the activity will still finish. If ExecutionType is set to Sequence(the default), the child instances run in sequence. If set to Parallel, all instances get created before the replicator starts. For more information on Replicator Activities see Workflow Basics – Loops and Repeated Activities