Executing Job Groups

A Job Group is a container for individual Jobs that helps you manage their executions. Job Groups can be activated manually or as an object in a Workflow or in a Schedule.

No matter how a Group object is executed, they undergo the following checks and states:

  1. The Group is started.
  2. All objects in the group have the Registered status as long as the Group is not active.
  3. The Group is Active.
  4. The number you have set in Max. Parallel Tasks comes now into effect.

    • 1: tasks are started one after another.

      The first task is selected according to the defined AE priority and FIFO and it is started. Its status is Active, the other tasks remain as Registered.

      As soon as the first task is finished, the next one is stared and so on.

    • x: the first X tasks are executed simultaneously and are therefore Active. The rest remain as Registered.

The execution of a Group is finished only after all the tasks in the group are also finished. If a task in the Group ends abnormally, the complete Group ends abnormally too.

As long as the execution of a Group is not finished, you can add additional objects to it, also if the Group is already active.

Suspending and Restarting the Execution of a Group

You can suspend the execution of a Group at any time. Registered tasks in the Group are also suspended. However, already active tasks cannot be suspended, they continue processing until they finish.

Resuming the execution of a Group is also possible. When you suspend a Job Group, its script (if available) is processed partially, starting where the last execution finished.

Suspend vs. Suspend (recursive)

If you want to stop processing a Group that contains Events or Workflows, you'd rather select Suspend (recursive). This suspends all Workflow and Event child tasks as well.

To Execute a Group

  1. Open the Process Assembly perspective and select the Group.
  2. Do one of the following:

    • Right-click and expand Execution Options. Select the desired option.
    • Expand the Execute button on the toolbar and select the desired option.

To Suspend the Group Execution

  1. Open the Process Monitoring perspective and select the Group.
  2. Right-click and do one of the following:

    • Select Suspend (recursive) if it contains Workflows and Events and you want to suspend all child tasks.
    • Select Suspend to stop the execution of the Group and its tasks. Child tasks are not affected.

To Resume the Group Execution

  1. Open the Process Monitoring perspective and select the Group.
  2. Right-click and do one of the following:

    • Select Resume (recursive) if it contains Workflows and Events and you want to suspend all child tasks.
    • Select Resume to stop the execution of the Group and its tasks. Child tasks are not affected.

Canceling the Group Execution

There are also two ways to cancel a group:

To Cancel a Group

  1. Open the Process Monitoring perspective and select the Group.
  2. Right-click and select Cancel or Cancel (recursive).

See also:

Job Groups (JOBG)