This article outlines the implementation of a Custom Logic flow to enable an entity subset based on the Predefined Entity List in a task. The entity list of the full entity subset can be generated by either using an SQL query on the source DB or running a Broadway flow. A Broadway flow is required when running an extract task on a non-JDBC data source.
The MigrateList MTable can run either an SQL statement or a Broadway flow.
Create a Broadway flow under the related root LU or the Shared Objects. It is recommended to place the Broadway flow under the Shared Objects to enable running the flow on several root LUs of a given Business Entity (BE). The Broadway flow must include the following Stages:
Populate the Broadway flow in the MigrateList MTable.
Redeploy the related LUs and the TDM LU.
The Broadway flow needs to generate the entity list and call the TDM library Actors to insert them into a dedicated table in the TDM DB. For each task execution, a separate entity table is created with the following naming convention: entity_list_<task exe_id>
.
The TDM task execution process runs the batch process on entities in the entity table that belong to the current task execution (identified by the current task execution id). The table is removed when the task execution process is complete.
This article outlines the implementation of a Custom Logic flow to enable an entity subset based on the Predefined Entity List in a task. The entity list of the full entity subset can be generated by either using an SQL query on the source DB or running a Broadway flow. A Broadway flow is required when running an extract task on a non-JDBC data source.
The MigrateList MTable can run either an SQL statement or a Broadway flow.
Create a Broadway flow under the related root LU or the Shared Objects. It is recommended to place the Broadway flow under the Shared Objects to enable running the flow on several root LUs of a given Business Entity (BE). The Broadway flow must include the following Stages:
Populate the Broadway flow in the MigrateList MTable.
Redeploy the related LUs and the TDM LU.
The Broadway flow needs to generate the entity list and call the TDM library Actors to insert them into a dedicated table in the TDM DB. For each task execution, a separate entity table is created with the following naming convention: entity_list_<task exe_id>
.
The TDM task execution process runs the batch process on entities in the entity table that belong to the current task execution (identified by the current task execution id). The table is removed when the task execution process is complete.