Every LU must include the ability to Delete Entities from a target environment to support the following tasks:
Note that if there is no need to support a delete of entities or Data Versioning load tasks, the target tables do not need to be added to the LUs.
Each LU has two main branches that are linked to the FABRIC_TDM_ROOT root table:
The target table contains the list of target IDs (keys) required to delete the data of the selected entities from the target environment and populate TDM_LU_TYPE_REL_TAR_EID with the target children IDs. It is recommended to add the TAR_ prefix to each target table.
Note that a given target LU table can be used to delete multiple target tables.
Example:
The Customer_ID key can be used to delete Customer, Contract, and Address target tables. Define the TAR_CUSTOMER table to hold the target Customer_ID and use the TAR_CUSTOMER to delete the target tables.
The target LU tables must be populated when running a TDM task that deletes the entities from the target environment. The target keys must be extracted from the target environment to enable deleting entities and their related data.
If the task does not delete the entities from the target environment, the target keys do not need to be extracted from the target environment.
The Broadway InitiateTDMLoad flow sets the TDM_DELETE_BEFORE_LOAD Global to true if the task must delete the entities from the target. Otherwise, this Global is set to false.
Add the fnDecisionDeleteFromTarget Decision function imported to the Shared Objects from the TDM Library to all target tables.
The LUI sync can populate the branches, source and target when running a load task that requires both delete and load entity operations.
The source LU tables must extract the data from the source environment, where the target LU tables must extract the data from the target environment.
The Broadway InitiateTDMLoad flow sets the active environment to the source environment before synching the LUI into Fabric.
Do the following to populate the target LU tables based on the target environment:
Update the execution order of the target LU tables' populations to run after the source LU tables. For example:
Create the population object of the main target LU table based on the Broadway flow. This population must set the target environment to be the active environment before selecting the data from the data source:
Edit the population of the Broadway flow and set the active environment based on the TDM_TARGET_ENV_NAME key which is set by the InitiateTDMLoad flow based on the task's target environment. Add the following actor before the Query actor: setTargetEnv_Actor.
For example:
Click for more information about Broadway as a population and Fabric command actors.
Note that the populations of the target tables are based on the same interfaces as the source LU tables, but the connection details change to the target environment, since the population of the main target LU table sets the target environment to be the active environment.
Add Delete Broadway flows to delete the entities from the target environment based on the target LU tables.
Click for more information about how to add Broadway Load and Delete flows to each LU.
Every LU must include the ability to Delete Entities from a target environment to support the following tasks:
Note that if there is no need to support a delete of entities or Data Versioning load tasks, the target tables do not need to be added to the LUs.
Each LU has two main branches that are linked to the FABRIC_TDM_ROOT root table:
The target table contains the list of target IDs (keys) required to delete the data of the selected entities from the target environment and populate TDM_LU_TYPE_REL_TAR_EID with the target children IDs. It is recommended to add the TAR_ prefix to each target table.
Note that a given target LU table can be used to delete multiple target tables.
Example:
The Customer_ID key can be used to delete Customer, Contract, and Address target tables. Define the TAR_CUSTOMER table to hold the target Customer_ID and use the TAR_CUSTOMER to delete the target tables.
The target LU tables must be populated when running a TDM task that deletes the entities from the target environment. The target keys must be extracted from the target environment to enable deleting entities and their related data.
If the task does not delete the entities from the target environment, the target keys do not need to be extracted from the target environment.
The Broadway InitiateTDMLoad flow sets the TDM_DELETE_BEFORE_LOAD Global to true if the task must delete the entities from the target. Otherwise, this Global is set to false.
Add the fnDecisionDeleteFromTarget Decision function imported to the Shared Objects from the TDM Library to all target tables.
The LUI sync can populate the branches, source and target when running a load task that requires both delete and load entity operations.
The source LU tables must extract the data from the source environment, where the target LU tables must extract the data from the target environment.
The Broadway InitiateTDMLoad flow sets the active environment to the source environment before synching the LUI into Fabric.
Do the following to populate the target LU tables based on the target environment:
Update the execution order of the target LU tables' populations to run after the source LU tables. For example:
Create the population object of the main target LU table based on the Broadway flow. This population must set the target environment to be the active environment before selecting the data from the data source:
Edit the population of the Broadway flow and set the active environment based on the TDM_TARGET_ENV_NAME key which is set by the InitiateTDMLoad flow based on the task's target environment. Add the following actor before the Query actor: setTargetEnv_Actor.
For example:
Click for more information about Broadway as a population and Fabric command actors.
Note that the populations of the target tables are based on the same interfaces as the source LU tables, but the connection details change to the target environment, since the population of the main target LU table sets the target environment to be the active environment.
Add Delete Broadway flows to delete the entities from the target environment based on the target LU tables.
Click for more information about how to add Broadway Load and Delete flows to each LU.