Remove Level

Removes one or more folder levels which exist below a base folder.

Remarks

Use this command to remove unwanted folder levels from a Batch. Children of the deleted folders will be moved to the root.

Inherits from: Unattended Activity

Properties

The following 5 properties are defined.

Property Name Description
General
Level Count Type: Int32, Default: 1, Range: 1 - 16

The number of folder levels to remove.

Filter Pattern Type: String

An optional regular expression which filters the items to be moved to the root. If no filter is specified, then all children of the deleted folders will be moved to the root. If a filter is specified, then only children with a path matching the regular expression will be moved.

The 'path' of each descendant item is relative to the Batch Folder object on which the activity is executed. Paths are delimited by the / character, and take the following general form: '/0003/Images/Page (15)' or '/0003/Previews/Page (15)'. In the case of these two examples, a Filter Pattern of 'images' would exclude the preview images from being moved to the root.

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.

Used By

Batch Folder - Apply Activity, Batch Process Step