Working with the BatchWithTransaction Project

The BatchWithTransaction project contains a process that uses transaction activities to start a transaction and commit a batch of Put operations automatically.

The process is designed with the following activities:

The following table describes the activities in this process:

Activity Description
BeginTransaction Starts a new transaction.
Put Stores a batch of tuples.
CommitTransaction Commits the batch of Put operations if no errors occur during the Put operations.
RollbackTransaction Reverts the batch of Put operations if errors occur during the Put operations.
ClearData Retrieves all the tuples stored by the Put operations.