A task execution can override execution parameters by:
The task execution process sets the task's environment as the active environment on the executed task.
The task execution process sets the active environment as follows:
A project's Global can be overridden on either a TDM environment or a TDM task level.
The task execution process sets the values on the Globals on a session level.
Note: Task-level variables have a higher priority than TDM environment-level variables. That is, if a variable (Global) is set on both - the task and the related environment levels - the task's Global value gets the higher priority.
When executing a TDM task, set the Sync mode according to the following table:
Source env - Override Sync Mode |
Task - Source env - policy for fetching data |
Execution Sync Mode |
Results |
Empty |
|
On |
LUIs are synced according to their sync method. See the Sync Behavior Summary table. |
Empty |
|
Force |
LUIs are synced from the source. |
Empty |
|
If the task includes a delete => On Else => Off |
|
Always sync |
|
Force |
LUIs are synced from the source. |
Always sync |
|
Force |
LUIs are synced from the source. |
Do Not Sync |
|
If the task includes a delete => On Else => Off |
|
The TDM API that starts a task execution can get a list of parameter-value pairs to override the original values of these parameters on the task execution without changing the task data.
This way, various users can use a task as a template and change (override) the execution parameters without changing the task itself: Each user can run the task on their environment and update the execution parameter according to their needs.
TDM supports overriding the following parameters:
Parameter Name |
Parameter Description |
Task Actions |
Data Versioning |
Populated by a list of Business Entity IDs separated by a comma. This list can contain only one Business Entity ID when executing a task that clones a Business Entity. |
All task actions except a Generate task |
True/False |
|
sourceEnvironmentName |
Source environment name |
Load or Extract tasks |
True/False |
targetEnvironmentName |
Target environment name |
Load, Delete, or Reserve tasks |
True/False |
taskGlobals |
A list of Global variables (task variables) and their values |
All tasks |
True/False |
numberOfEntities |
Populated with a value that limits the number of entities to be processed by the task. This parameter is relevant only if an explicit entity list was not set. |
All tasks |
False |
dataVersionExecId |
Populated with the task execution id of the selected data version. The parameter can be set on Data Versioning load tasks. |
Load task |
True |
dataVersionRetentionPeriod |
Populated with the retention period of the extracted data version. This parameter contains the unit (Hours, Days, Weeks…) and the value. |
Extract task | True |
reserveInd |
Populated with True or False. Set to True if the task execution needs to reserve the entities on the target environment. |
Load or Reserve tasks |
Load task: True/False
Reserve task: N/A |
reserveRetention |
Populated with the reservation period of the task's entities. This parameter contains the unit (Hours, Days, Weeks.) and the value. |
Load or Reserve tasks |
Load task: True/False
Reserve task: N/A |
executionNote |
Free text. Adds a note to the execution. |
All tasks |
True/False |
Note:
This API validates the overridden parameters with the user's permissions on the task's environments:
If at least one of the validations fails, the API does not start the task and returns validation errors.
Overriding task execution parameters does not update the task itself, but rather impacts the given task execution:
The task execution process gets the overridden parameters from task_execution_override_attrs TDM DB table and executes the task based on the overridden parameters.
A task execution can override execution parameters by:
The task execution process sets the task's environment as the active environment on the executed task.
The task execution process sets the active environment as follows:
A project's Global can be overridden on either a TDM environment or a TDM task level.
The task execution process sets the values on the Globals on a session level.
Note: Task-level variables have a higher priority than TDM environment-level variables. That is, if a variable (Global) is set on both - the task and the related environment levels - the task's Global value gets the higher priority.
When executing a TDM task, set the Sync mode according to the following table:
Source env - Override Sync Mode |
Task - Source env - policy for fetching data |
Execution Sync Mode |
Results |
Empty |
|
On |
LUIs are synced according to their sync method. See the Sync Behavior Summary table. |
Empty |
|
Force |
LUIs are synced from the source. |
Empty |
|
If the task includes a delete => On Else => Off |
|
Always sync |
|
Force |
LUIs are synced from the source. |
Always sync |
|
Force |
LUIs are synced from the source. |
Do Not Sync |
|
If the task includes a delete => On Else => Off |
|
The TDM API that starts a task execution can get a list of parameter-value pairs to override the original values of these parameters on the task execution without changing the task data.
This way, various users can use a task as a template and change (override) the execution parameters without changing the task itself: Each user can run the task on their environment and update the execution parameter according to their needs.
TDM supports overriding the following parameters:
Parameter Name |
Parameter Description |
Task Actions |
Data Versioning |
Populated by a list of Business Entity IDs separated by a comma. This list can contain only one Business Entity ID when executing a task that clones a Business Entity. |
All task actions except a Generate task |
True/False |
|
sourceEnvironmentName |
Source environment name |
Load or Extract tasks |
True/False |
targetEnvironmentName |
Target environment name |
Load, Delete, or Reserve tasks |
True/False |
taskGlobals |
A list of Global variables (task variables) and their values |
All tasks |
True/False |
numberOfEntities |
Populated with a value that limits the number of entities to be processed by the task. This parameter is relevant only if an explicit entity list was not set. |
All tasks |
False |
dataVersionExecId |
Populated with the task execution id of the selected data version. The parameter can be set on Data Versioning load tasks. |
Load task |
True |
dataVersionRetentionPeriod |
Populated with the retention period of the extracted data version. This parameter contains the unit (Hours, Days, Weeks…) and the value. |
Extract task | True |
reserveInd |
Populated with True or False. Set to True if the task execution needs to reserve the entities on the target environment. |
Load or Reserve tasks |
Load task: True/False
Reserve task: N/A |
reserveRetention |
Populated with the reservation period of the task's entities. This parameter contains the unit (Hours, Days, Weeks.) and the value. |
Load or Reserve tasks |
Load task: True/False
Reserve task: N/A |
executionNote |
Free text. Adds a note to the execution. |
All tasks |
True/False |
Note:
This API validates the overridden parameters with the user's permissions on the task's environments:
If at least one of the validations fails, the API does not start the task and returns validation errors.
Overriding task execution parameters does not update the task itself, but rather impacts the given task execution:
The task execution process gets the overridden parameters from task_execution_override_attrs TDM DB table and executes the task based on the overridden parameters.