2023:Activity Processing (Service): Difference between revisions

From Grooper Wiki
Tag: Reverted
No edit summary
Tag: Reverted
Line 27: Line 27:
== Example: A single-threaded Activity Processing service for Export ==
== Example: A single-threaded Activity Processing service for Export ==


{{#lst:Export (Activity)|single_threaded_export}}
{{#lst:{{NAMESPACE}}Export (Activity)|single_threaded_export}}

Revision as of 17:58, 28 December 2023

This article is about an older version of Grooper.

Information may be out of date and UI elements may have changed.

20252024202320222.90

Activity Processing is a Grooper Service that executes Unattended Activities assigned to Batch Steps in a Batch Process.  This allows Grooper to automate Batch Steps that do not require a human operator.

When configuring an Activity Processing service, a Processing Queue may or may not be specified.

  • When unspecified, the service will assign work using the "default" Processing Queue. The Activity Processing service will pick up tasks for any Batch Process Steps that do not have an assigned Processing Queue.
  • When specified, only the Activity Processing' service will only process tasks for Batch Process Steps with that Processing Queue assigned.
    • Be aware, while an Activity Processing service can only be configured to point to a single Processing Queue, multiple Activity Processing services may be added to the Grooper service list (each referencing their own Processing Queues).

About

Unattended Activities in a Batch Process can be automated using an Activity Processing Grooper service. The Activity Processing service will act like a Windows service and automatically start tasks in a Batch, as processing threads in your system's resources become available. This is one of the ways Grooper leverages your system resources for parallel processing.

Imagine you're running Grooper on a machine with eight (8) processing threads. If you have a Batch with five (5) Batch Folders, and each one is on the Recognize step of the Batch Process, there's no need for your system to process each Batch Folder sequentially (with each Batch Folder waiting to be processed until the one before it is finished).

  • You have 8 threads and 5 Batch Folders in this scenario.
  • Each one of those threads can process one Batch Folder as a single task.
  • With 8 available threads, all 5 Batch Folders could be processed concurrently by 5 individual threads.
  • This is multi-threaded Activity processing.

You could then set up an Activity Processing service to process all Unattended Activity steps in a Batch Process with the maximum allowable processing threads available.

Example: A general purpose multi-threaded Activity Processing service

COMING SOON

Example: A single-threaded Activity Processing service for Export

2023Export (Activity)