Dispose Batch

Applies a disposition to Batches when they have completed processing.

Remarks

Designed for use as the final step in a Batch Process, this activity can delete Batches, move them to an archive folder, or migrate their contents between Grooper File Stores.

Inherits from: Unattended Activity

Properties

The following 6 properties are defined.

Property Name Description
General
Delete Batch Type: Boolean, Default: False

When enabled, this task will delete the batch.

Move to FileStore Type: File Store

If a File Store is selected here, the content files for the batch will be migrated to the indicated file store. This feature is intended to allow a tiered storage architecture, where production batches are stored on high-speed solid state drives, for example, while completed batches are archived to less expensive, slower storage. In such cases, please note the following general guidelines:

  • The primary File Store should be configured to use high-speed speed storage, as all new production batches are written here.
  • The final step in the batch process should include a Dispose Batch action configured to migrate the batch to a file store which uses standard storage.
  • It is recommended that tiered storage configurations use a dedicated Grooper repository for production batches, segregating test batches to a repository configured to use standard storage.

Move to Folder Type: Folder

If a folder is selected here, the batch will be moved to this location. This is intended to support archiving production batches to a folder in the test branch upon completion. If this property is set, then the Dispose Batch action should be the final step in the Batch Process.

Processing Options
Error Disposition Type: IssueDisposition, Default: Flag, Log

Determines what happens when an error occurs processing an activity.

Maximum Consecutive Errors Type: Int32, Default: 0

The maximum number of consecutive errors, after which a critical stop will be raised. A critical stop will cause services to stop running.

Concurrency Mode Type: ConcurrencyMode, Default: Multiple

Specifies the parallel processing mode for this activity. Can be one of the following values:

  • Multiple - Multiple instances can run concurrently.
  • PerMachine - Only a single instance can run per machine.
  • Single - Only a single instance can run per Grooper repository.
This value determines the type of Thread Pool on which the activity can be executed.

See Also

File Store, Folder

Used By

Batch Folder - Apply Activity, Batch Process Step