Grooper Help - Version 25.0
25.0.0032 2,215

Content Type - Submit Job

Content Type Command Grooper.Core

Submits a Processing Job to apply a Code Activity to all documents that have this Content Type assigned.

Remarks

Overview

The SubmitJob command enables users to create and submit Processing Jobs that execute a specified Code Activity on all documents associated with a particular Content Type.
This command is typically used to automate processing tasks—such as extraction, validation, or transformation—across multiple documents of the same type within a Batch.

Usage and Configuration

  • Assign a Code Activity to the 'Activity' property to define the automated work to be performed.
  • Use the 'ProcessingScope' property to select the level at which tasks are submitted (e.g., Folder or Page).
  • The 'Level' property controls the folder hierarchy depth for task submission:
    • Level 0 targets the documents in the result set.
    • Level 1 targets immediate children of those documents.
    • Negative values can be used to select ancestor folders.
  • Set 'Priority' to control the order in which Processing Tasks are executed (lower values are processed first).
  • Assign a ThreadPool to the 'ProcessingQueue' property to specify which processing queue will execute the tasks.
  • The 'JobSize' property determines the maximum number of tasks included in each submitted job, allowing large workloads to be batched efficiently.

Workflow Integration

SubmitJob is designed for scenarios where only a subset of documents—such as those returned by a search or assigned a specific Content Type—require additional processing. This is common in review, quality control, or exception handling workflows, where targeted automation is needed without reprocessing entire batches.

Behavior

When executed, SubmitJob:

  1. Gathers all document IDs matching the Content Type.
  2. Batches them according to the configured 'JobSize'.
  3. Creates and submits Processing Jobs for each batch, assigning the selected Code Activity, scope, priority, and queue.
  4. Starts the processing tasks, updating progress as jobs are submitted.

Properties

NameTypeDescription

See Also

Notification