Home | Table of Contents | Common Properties of Job Control | CloverETL 4.6.1
--- | --- | ---
Prev | Job Control | Next

## Common Properties of Job Control

The Job Control is a group of components managing various job types - executing, monitoring and optionally aborting ETL graphs, jobflows and interpreted scripts. Most of these components are tightly bound with jobflow.

All execution components ExecuteGraph, ExecuteJobflow, ExecuteProfilerJob, ExecuteScript and few other Job Control components have similar approach to job execution management. Each of them has an optional input port.

Each incoming token from this port is interpreted by an execution component and a respective job is started. Default execution settings are specified directly through various component attributes. These default settings can be overridden by values from incoming token - Input mapping attribute specifies the override.

Results of successful jobs are sent to the first output port and unsuccessful job runs are sent to the second output port. Content of these output tokens is defined in Output mapping and Error mapping.

In case no input port is attached, only single job is started with execution settings specified directly in component attributes. In case the first output port is not connected, job results are printed out to log. And finally in case the second output port is not connected, first unsuccessful job causes failure of whole jobflow.

Redirect error output attribute can be used to route all successful and even unsuccessful job results to the first output port - Output mapping is used for all job executions.

Below is an overview of all Job control components:

Table 52.1. Job control Comparison

Component | Same input metadata | Sorted inputs | Inputs | Outputs | Java | CTL | Auto-propagated metadata
--- | --- | --- | --- | --- | --- | --- | ---
Barrier |  |  | 1-n | 1-n | - | - |
Condition | - |  | 1 | 1-2 | - | - |
ExecuteGraph | - |  | 0-1 | 0-2 |  |  |
ExecuteJobflow | - |  | 0-1 | 0-2 |  |  |
ExecuteMapReduce |  |  | 0-1 | 0-2 |  |  |
ExecuteProfilerJob | - |  | 0-1 | 0-2 |  |  |
ExecuteScript | - |  | 0-1 | 0-2 |  |  |
Fail | - |  | 0-1 | 0 |  |  |
GetJobInput | - |  | 0 | 1 |  |  |
KillGraph | - |  | 0-1 | 0-1 |  |  |
KillJobflow | - |  | 0-1 | 0-1 |  |  |
Loop |  |  | 2 | 2 |  |  |
MonitorGraph | - |  | 0-1 | 0-2 |  |  |
MonitorJobflow | - |  | 0-1 | 0-2 |  |  |
SetJobOutput | - |  | 1 | 0 |  |  |
Sleep | - |  | 1 | 1-n |  |  |
Success |  |  | 0-n | 0 | - | - |
TokenGather |  |  | 1-n | 1-n | - | - |

Prev | Up | Next
Job Control | Home | Table of Contents | Barrier