A task execution can override execution parameters, as follows:
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:
Set execution parameters like the following indicators:
These parameters are based on the task's settings and are set on a session level.
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 variable. I.e. 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:
Override Sync - Source Env Level |
Set Sync Policy - Task Level |
Task Type |
Task Execution Sync Mode |
Results |
None |
Sync New Data |
Extract, Load, Delete |
On |
LUIs are synced according to their sync method. See the Sync Behavior Summary table. |
None |
Refresh all Data From Source |
Extract, Load, Delete |
Force |
LUIs are synced from the source. |
Always sync |
Sync New Data |
Extract, Load, Delete |
Force |
LUIs are synced from the source. |
Always sync |
Refresh all Data From Source |
Extract, Load, Delete |
Force |
LUIs are synced from the source. |
Do Not Sync |
Refresh all Data From Source |
Extract, Load, Delete |
Force |
LUIs are synced from the source. |
Sync New Data Do Not Sync
|
Load |
Off |
|
|
None |
Do Not Sync From Source Data |
Load and Delete | On |
|
Do Not Sync |
Sync New Data |
Load and Delete | On |
|
N/A |
N/A |
Delete | On | Target LU tables are synced from the target environment. |
N/A
|
Do Not Sync From Source Data
|
Load |
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 his environment and update the execution parameter according to his needs.
TDM supports the override of the following parameters:
Parameter Name |
Parameter Description |
Task Types |
Data Versioning |
Populated by a list of Business Entity IDs separated by a comma. This list can only contain one Business Entity ID when executing a task that clones a Business Entity. |
Load 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. Add 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 validation fails, the API does not start the task and returns validation errors.
The override of 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, as follows:
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:
Set execution parameters like the following indicators:
These parameters are based on the task's settings and are set on a session level.
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 variable. I.e. 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:
Override Sync - Source Env Level |
Set Sync Policy - Task Level |
Task Type |
Task Execution Sync Mode |
Results |
None |
Sync New Data |
Extract, Load, Delete |
On |
LUIs are synced according to their sync method. See the Sync Behavior Summary table. |
None |
Refresh all Data From Source |
Extract, Load, Delete |
Force |
LUIs are synced from the source. |
Always sync |
Sync New Data |
Extract, Load, Delete |
Force |
LUIs are synced from the source. |
Always sync |
Refresh all Data From Source |
Extract, Load, Delete |
Force |
LUIs are synced from the source. |
Do Not Sync |
Refresh all Data From Source |
Extract, Load, Delete |
Force |
LUIs are synced from the source. |
Sync New Data Do Not Sync
|
Load |
Off |
|
|
None |
Do Not Sync From Source Data |
Load and Delete | On |
|
Do Not Sync |
Sync New Data |
Load and Delete | On |
|
N/A |
N/A |
Delete | On | Target LU tables are synced from the target environment. |
N/A
|
Do Not Sync From Source Data
|
Load |
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 his environment and update the execution parameter according to his needs.
TDM supports the override of the following parameters:
Parameter Name |
Parameter Description |
Task Types |
Data Versioning |
Populated by a list of Business Entity IDs separated by a comma. This list can only contain one Business Entity ID when executing a task that clones a Business Entity. |
Load 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. Add 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 validation fails, the API does not start the task and returns validation errors.
The override of 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.