A TDM task enables you to select a subset of entities based on a predefined list of parameters. For example, copy 10 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:
The AI-based generated entities are not 'synced' from a data source. The AI process generates entities, and the TDM imports the generated entities to Fabric. A post TDM process updates the parameters tables for the imported entities to enable a selection of these entities based on parameters.
Click [here] for more information about the AI based generation.
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 less than or equals 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 Global and you must enter the value in the parameter.
Note that if the COMBO_MAX_COUNT Global is updated after executing Extract tasks, it is required to repopulate the tdm_params_distinct_values TDM DB table:
Verify that the COMBO_MAX_COUNT Global is defined as Final.
Redeploy the TDM LU to Fabric.
Run the UpgradeDistinctValues flow (imported from the TDM Library). This flow truncates and repopulates the tdm_params_distinct_values table based on the updated COMBO_MAX_COUNT value.
Add the LU's parameters to the LuParams MTable (located under the References in the Project tree).
Note that from TDM 8.1 onwards, the previous translation object - trnLuParams - is replaced with the LuParams MTable. Deploy all LUs to the debug server and run the RunTDMDBUpgradeScripts flow. This flow runs the convertLuTranslations flow to convert old TDM translations to the equivalent TDM MTables. Each execution of the convertLuTranslations flow deletes and re-populates the related MTables.
The LuParams has the following fields:
LuParams example:
The LU_PARAMS' population flow runs the fnEnrichmentLuParams function. This function runs the LU's SQL queries in the LuParams, creates the LU parameters table in the TDM DB if needed, and populates the LU parameters table in the TDM DB. 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:
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 10 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:
The AI-based generated entities are not 'synced' from a data source. The AI process generates entities, and the TDM imports the generated entities to Fabric. A post TDM process updates the parameters tables for the imported entities to enable a selection of these entities based on parameters.
Click [here] for more information about the AI based generation.
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 less than or equals 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 Global and you must enter the value in the parameter.
Note that if the COMBO_MAX_COUNT Global is updated after executing Extract tasks, it is required to repopulate the tdm_params_distinct_values TDM DB table:
Verify that the COMBO_MAX_COUNT Global is defined as Final.
Redeploy the TDM LU to Fabric.
Run the UpgradeDistinctValues flow (imported from the TDM Library). This flow truncates and repopulates the tdm_params_distinct_values table based on the updated COMBO_MAX_COUNT value.
Add the LU's parameters to the LuParams MTable (located under the References in the Project tree).
Note that from TDM 8.1 onwards, the previous translation object - trnLuParams - is replaced with the LuParams MTable. Deploy all LUs to the debug server and run the RunTDMDBUpgradeScripts flow. This flow runs the convertLuTranslations flow to convert old TDM translations to the equivalent TDM MTables. Each execution of the convertLuTranslations flow deletes and re-populates the related MTables.
The LuParams has the following fields:
LuParams example:
The LU_PARAMS' population flow runs the fnEnrichmentLuParams function. This function runs the LU's SQL queries in the LuParams, creates the LU parameters table in the TDM DB if needed, and populates the LU parameters table in the TDM DB. 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:
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.