A TDM task enables you to select a subset of entities based on a predefined list of parameters. For example, copy ten business customers that belong to Billing Cycle 1 and that are located in NY.
The parameters that are available for the task are attached to the LUs of the task's Business Entity. Parameters are defined at an LU level.
When synced, the LUIs create and update the Parameters table in the TDM database. A separate parameters table is created for each LU. The naming convention of the parameters tables is <LU Name>_params
.
Parameter tables are used for the following:
Verify that the LU_PARAMS is attached to the LU Schema.
Edit the COMBO_MAX_COUNT shared Global imported from the TDM Library if needed. By default the Global is populated with 49 and is checked when creating a TDM task using a parameters selection method. If the number of possible values in the TDM Parameters tables is smaller or equal to the COMBO_MAX_COUNT value, the parameter is handled as a combo parameter and a list of all possible values for this parameter is displayed. If a value is not selected from the list, the parameter has more values than the threshold defined in COMBO_MAX_COUNT and you must enter the value in the parameter.
Deploy the LU to the Fabric debug server.
Copy the trnLuParams translation object from the TDM_LIBRARY LU to the LU.
Edit the trnLuParams translation object (duplicated from the TDM_LIBRARY LU). Populate the parameter name and the SQL query of each parameter. The SQL query runs on the LU and must return only one column that is populated into the Parameter column of the LU_PARAMS table. To validate an SQL query, click the SQL button on the record to open the Query Builder where you can populate the Fabric DB connection and select the LU. For example:
Edit the LU_PARAMS table. Each parameter defined for the trnLuParams must be added to the LU table as a separate column. Set the type of all columns to Text. For example:
The LU population flow runs the fnEnrichmentLuParams function. This function runs the SQL queries of the trnLuParams and populates each column in the LU_PARAMS with the results of its related SQL query. Each parameter's column holds a JSON file that contains the values of the parameter. Each parameter can hold several values that are separated by a comma. For example:
<LU Name>_params
table in the TDM DB.Notes:
<LU Name>_params
table in the TDM DB. The <LU Name>_params
table is needed by both entities selection methods of a TDM task: Parameters and Random Selection.A TDM task enables you to select a subset of entities based on a predefined list of parameters. For example, copy ten business customers that belong to Billing Cycle 1 and that are located in NY.
The parameters that are available for the task are attached to the LUs of the task's Business Entity. Parameters are defined at an LU level.
When synced, the LUIs create and update the Parameters table in the TDM database. A separate parameters table is created for each LU. The naming convention of the parameters tables is <LU Name>_params
.
Parameter tables are used for the following:
Verify that the LU_PARAMS is attached to the LU Schema.
Edit the COMBO_MAX_COUNT shared Global imported from the TDM Library if needed. By default the Global is populated with 49 and is checked when creating a TDM task using a parameters selection method. If the number of possible values in the TDM Parameters tables is smaller or equal to the COMBO_MAX_COUNT value, the parameter is handled as a combo parameter and a list of all possible values for this parameter is displayed. If a value is not selected from the list, the parameter has more values than the threshold defined in COMBO_MAX_COUNT and you must enter the value in the parameter.
Deploy the LU to the Fabric debug server.
Copy the trnLuParams translation object from the TDM_LIBRARY LU to the LU.
Edit the trnLuParams translation object (duplicated from the TDM_LIBRARY LU). Populate the parameter name and the SQL query of each parameter. The SQL query runs on the LU and must return only one column that is populated into the Parameter column of the LU_PARAMS table. To validate an SQL query, click the SQL button on the record to open the Query Builder where you can populate the Fabric DB connection and select the LU. For example:
Edit the LU_PARAMS table. Each parameter defined for the trnLuParams must be added to the LU table as a separate column. Set the type of all columns to Text. For example:
The LU population flow runs the fnEnrichmentLuParams function. This function runs the SQL queries of the trnLuParams and populates each column in the LU_PARAMS with the results of its related SQL query. Each parameter's column holds a JSON file that contains the values of the parameter. Each parameter can hold several values that are separated by a comma. For example:
<LU Name>_params
table in the TDM DB.Notes:
<LU Name>_params
table in the TDM DB. The <LU Name>_params
table is needed by both entities selection methods of a TDM task: Parameters and Random Selection.