Task workflows are used to execute system housekeeping tasks such as removing files or cleaning up database tables. The following are the Task Workflow agents we have:
...
The Data Hub Task agent is explained in detail in Data Hub Task Agent.
Data Veracity Task Agent
The Data Veracity Task Agent is explained in detail in Data Veracity Task Agent.
Anchor | ||||
---|---|---|---|---|
|
The Python Task Agent runs Python scripts and is configured in two tabs – General where the code is entered and MIM where MIM values can be freely assigned.
General
...
The Python collection agent configuration - General tab
Setting | Description |
---|
Setting | Description |
---|---|
Code Area | This is the text area where you enter your code, see Python Writer's Guide for further information. Entered code will be color coded depending on the code type, and for input assistance, a pop-up menu is available. Below the text area there are line, column and position indicators. See Python Code Editor Assistance. |
Interpreter | Here you select which Interpreter profile you want to use. If no selection is made the Interpreter profile that has been set as default will be used. See Python Interpreter Profile for further information. |
In the General tab, you enter the selected code string that needs to be executed in a task workflow. You can Validate the input code and confirm your choice by clicking on the OK button.
...
Here, you can insert the relevant MIM values.
Setting | Description |
---|---|
Assigned | Select the target assignee to which the MIM will be bound. |
Name | Enter the name of the MIM value |
Type | Select the data type, you can choose from the following supported data types: any, boolean, date, double, int, long, and string. |
SQL Agent
The SQL agent executes an SQL statement or script in the database specified by a database profile.
...
SQL agent configuration
Setting | Description | ||
---|---|---|---|
Database | Click Browse... to select a Database profile. For further information about how to configure a Database profile, see Database Profile. | ||
SQL Statement | Enter a PL/SQL script or SQL statements.
|
Script Agent
This agent runs a shell script or other executable located on the filesystem of an EC. The workflow will stop when it receives an exit code from the script. If the script returns a non-zero exit code, the workflow will abort. Output to stdout will appear in the debug output from the agent.
...
Script agent configuration
Setting | Description |
---|---|
Script Name | Enter the absolute path and name of the script file or executable that will perform the task. You may omit the path if it is not required by the shell. For instance, to remove files or directories you can simply enter |
Parameters | Enter the arguments and options expected by the script. The value will be passed as-is to the shell, except for carriage return characters, which will be handled as a blank spaces. To call the script without options parameters, leave this field blank. |
Unit Test Runner Agent
This task agent executes unit tests. You can customize the queries and define the exact location where the reports are saved.
...
Unit Test Runner Task Agent Configuration
Setting | Description |
---|---|
Test Discovery Settings | |
Query | Enter the unit test run query |
All | Select this option to enter "all" into the query field. |
Add folder... | Select this option to enter the add folder code into the query field. |
Add name... | Select this option to enter a unit test. |
Report Settings | |
Directory | Enter the target directory where the reports will be saved. |
Interpreter Settings | |
Profile | Select the Interpreter profile. |