Task - Entity Subset

The entity subset must be defined for any task that either extracts entities from the source environment or gets the pre-extracted/pre-generated entities from the Test Data Store. The subset defines the entities selection method.

The following selection methods are available:

Data source option

Source – Policy for Fetching data

Available entity selection methods

Entities & referential data

All policies except Selected snapshot (version)

  • Entity list (default option)
  • Predefined entity list
  • Predefined custom logic
  • Business parameters
  • Random

Entities & referential data

Selected snapshot (version)

  • Load all entities in the select a data version (snapshot)
  • Load an entity list from the selected data version (snapshot)

Synthetic entities Rule-based/AI-based generation

Use generated data in the Test Data Store

  • Load all generated entities of a selected data generation execution
  • Load a partial entity subset:
    • Predefined custom logic
    • Business parameters
    • Random

Entity List

Populate the list of entities for the task. The populated entities should be separated with a comma.

Predefined Entity List

Run the SQL query or the Broadway flow defined in the MigrateList MTable object for the task's Business Entity. This option is available only for Admin and Environment owner users.

Predefined Custom Logic

Select a predefined Broadway flow in order to extract an entity list for the task. Set the maximum number of entities to be retrieved by the flow. Populate the input parameters for the selected flow, if needed.

Business Parameters

Select one or several parameters. Additionally, you can add the same parameter multiple times with different values.

parameters

Notes:

  • The list of parameters should be predefined for each LU in the task BE within the Fabric project.
  • The parameters and their values must be populated in the TDM DB. It is recommended to run a task that extracts a large subset of entities from the source environment in order to populate the TDM DB parameters' tables and enable creating TDM tasks with business parameters. When there is no need to store the extracted subset in the TDM Test Data Store, the Retention period for the initial extract task can be set to Do not retain.

Use Parameters with Random Selection Checkbox

The Parameters selection has 2 modes:

  • When checked (default), TDM randomly selects - from the list of all entities - entities that match the selected parameters. Each task execution gets different lists of entities that match the selected parameters. The Selection Method displayed in the Tasks List window is Parameters - selection based on parameters with random selection.

    Example:

    • Creating a task to load 5 customers using selected parameters. There are 800 customers that match the selected parameters. The task execution gets a random list of 5 customers from the list of 800 customers that match the selected parameters.
  • When unchecked, it gets the first entities that match the selected parameters. Each task execution gets the same list of entities that match the selected parameters. The Selection Method displayed in the Tasks List window is Parameters - selection based only on Parameters.

    Example:

    • Create a task to load 5 customers with selected parameters. There are 800 customers that match the selected parameters. The task execution gets the first 5 customers that match the selected parameters.

How Do I Add a Condition?

To add a parameter:

  • Click Add Condition.
  • Select the parameter and the operator from the drop-down lists and populate their values. Note that from TDM 8.1 onwards it is possible to select the IN or NOT IN operators on combo parameters and on text parameters.
  • Set the value on the parameter. You can set multiple values on a parameter if the selected operator is either IN or NOT IN:
    • Combo parameters - click on the value field to select a required value from the drop-down list; this can be done multiple times as more than one value can be selected in this field.
    • Free text parameters - populate the values with a separating comma. For example: NY, CA.
  • Add the AND/OR operator to connect the parameter to the previous parameters or group. The TDM Portal displays the SQL query, which is built based on the selected parameters.

How Do I Populate a Parameter's Value?

There are several types of parameters:

  • Combo - parameters with a limited number of values. The Task window displays a drop-down list of the parameters' values; select one of them.

    Click for more information about setting a parameter as a combo parameter.

  • Number - the TDM Portal displays the minimum and maximum values of this parameter. If the populated values exceed a parameter's range, an error message is displayed.

  • Date - populate the value using the following format: YYYY-MM-DD.

    • Notes:

    • The date format is defined in DATETIME_FORMAT parameter of the config.ini Fabric file. The default format is 'yyyy-MM-dd HH:mm:ss.SSS'.

    • The parameter's search may be based on either a Date (removing the time from the Date format) or a Datetime.

      Examples:

      • 2023-12-28
      • 2024-04-03 10:00:00
    • The date value is set without quotation marks.

  • Text - populate the value using a free text.

How Do I Add a Group of Parameters?

  • Click Add Group.

  • Note that nested groups of parameters can be added, for example, in order to define an inner group inside an outer group:

    task parameters grouping

How Do I Remove a Parameter or a Parameters' Group?

  1. Click the trash icon next to the parameter in order to delete it.

  2. Click Remove Group to remove a parameters' group.

Getting the Number of Matching Entities

Click Refresh next to the Number of entities matched in order to calculate the number of entities that match the selected parameters. The Business parameters selection supports the parent-child hierarchy relationship between the LUs of the selected BE. It can cross-check the matching entities of a selected combination of parameters and take into consideration parameters from different LUs in the same BE hierarchy. For example, selecting customers based on their number of open cases, subscriber_type, and vip_status (as seen in the above image).

  • Click refesh to display the number of matching entities according to the parameters’ conditions.

Click for more information about the TDM parameters' tables and View - created by TDM in the TDM DB - that display a hierarchical view of TDM parameters.

Random

Get a random list of entities from the parameters' tables created in the TDM DB for the root LU of the task's BE.

Testers can select this option only if they are permitted to do so in the task's source environment.

Filter out Reserved Entities

  • The Filter out Reserved Entities options enable the user to decide which reserved entities will be excluded from the task execution:

    • Reserved by others (default option) - excludes entities that are currently reserved by users other than the task creator/executor and allows task execution on entities reserved by the task creator/executor.

    • All reserved entities - excludes all reserved entities, including those reserved by the task creator/executor. This option ensures there is no overlapping with any of the reserved entities, regardless of who has reserved them.

  • The reserved entities are excluded when running the following tasks:

    • Load tasks when both the Replace IDs for the copied entities and the Generate clones for an entity checkboxes are cleared, i.e., the task loads the entities with their source IDs.
    • Delete tasks
    • Reserve tasks
  • Notes:

    • Set the target environment in the Target component in order to exclude reserved entities when calculating the Number of entities matched based on the selected Business parameters in the Subset component.

    • The Filter out Reserved Entities radio buttons are disabled in tasks when:

    • Either the Replace IDs for the copied entities or the Generate clones for an entity checkbox is checked in the Target component, i.e., the task creates new replicas of the copied entities.

    • Creating an AI-based Training task, i.e., the Destination of test data in the Target component is set to AI training.

    • The task's selection method is Predefined entity list.

Synthetic Entities - Load all Generated Entities of a Selected Data Generation Execution

The Subset form displays all available rule-based/AI-based data generation executions. Select an execution to load its generated entities to the target environment:

load generation

Select and Load Data Snapshot (version) Task

When the Policy for Fetching data in the Source component is set to Selected snapshot (version), you need to select a data snapshot (version) to be loaded to the target environment. The Subset form (below) displays a list of available data snapshots (versions) that can be selected and reloaded to the target environment. By default, the TDM Portal displays a list of the data versions created during the last month. To set a different period, edit the From date and To date settings.

The following options are available:

Select all entities of the selected version

data version

Entity List

Populate the list of entity IDs separated by a comma in the Entity IDs setting.

Each update of this list may change the list of available versions for the task.

K2view's TDM displays all available versions created in the source environment for the task's LUs and the selected entities.

load version with entities

Task - Entity Subset

The entity subset must be defined for any task that either extracts entities from the source environment or gets the pre-extracted/pre-generated entities from the Test Data Store. The subset defines the entities selection method.

The following selection methods are available:

Data source option

Source – Policy for Fetching data

Available entity selection methods

Entities & referential data

All policies except Selected snapshot (version)

  • Entity list (default option)
  • Predefined entity list
  • Predefined custom logic
  • Business parameters
  • Random

Entities & referential data

Selected snapshot (version)

  • Load all entities in the select a data version (snapshot)
  • Load an entity list from the selected data version (snapshot)

Synthetic entities Rule-based/AI-based generation

Use generated data in the Test Data Store

  • Load all generated entities of a selected data generation execution
  • Load a partial entity subset:
    • Predefined custom logic
    • Business parameters
    • Random

Entity List

Populate the list of entities for the task. The populated entities should be separated with a comma.

Predefined Entity List

Run the SQL query or the Broadway flow defined in the MigrateList MTable object for the task's Business Entity. This option is available only for Admin and Environment owner users.

Predefined Custom Logic

Select a predefined Broadway flow in order to extract an entity list for the task. Set the maximum number of entities to be retrieved by the flow. Populate the input parameters for the selected flow, if needed.

Business Parameters

Select one or several parameters. Additionally, you can add the same parameter multiple times with different values.

parameters

Notes:

  • The list of parameters should be predefined for each LU in the task BE within the Fabric project.
  • The parameters and their values must be populated in the TDM DB. It is recommended to run a task that extracts a large subset of entities from the source environment in order to populate the TDM DB parameters' tables and enable creating TDM tasks with business parameters. When there is no need to store the extracted subset in the TDM Test Data Store, the Retention period for the initial extract task can be set to Do not retain.

Use Parameters with Random Selection Checkbox

The Parameters selection has 2 modes:

  • When checked (default), TDM randomly selects - from the list of all entities - entities that match the selected parameters. Each task execution gets different lists of entities that match the selected parameters. The Selection Method displayed in the Tasks List window is Parameters - selection based on parameters with random selection.

    Example:

    • Creating a task to load 5 customers using selected parameters. There are 800 customers that match the selected parameters. The task execution gets a random list of 5 customers from the list of 800 customers that match the selected parameters.
  • When unchecked, it gets the first entities that match the selected parameters. Each task execution gets the same list of entities that match the selected parameters. The Selection Method displayed in the Tasks List window is Parameters - selection based only on Parameters.

    Example:

    • Create a task to load 5 customers with selected parameters. There are 800 customers that match the selected parameters. The task execution gets the first 5 customers that match the selected parameters.

How Do I Add a Condition?

To add a parameter:

  • Click Add Condition.
  • Select the parameter and the operator from the drop-down lists and populate their values. Note that from TDM 8.1 onwards it is possible to select the IN or NOT IN operators on combo parameters and on text parameters.
  • Set the value on the parameter. You can set multiple values on a parameter if the selected operator is either IN or NOT IN:
    • Combo parameters - click on the value field to select a required value from the drop-down list; this can be done multiple times as more than one value can be selected in this field.
    • Free text parameters - populate the values with a separating comma. For example: NY, CA.
  • Add the AND/OR operator to connect the parameter to the previous parameters or group. The TDM Portal displays the SQL query, which is built based on the selected parameters.

How Do I Populate a Parameter's Value?

There are several types of parameters:

  • Combo - parameters with a limited number of values. The Task window displays a drop-down list of the parameters' values; select one of them.

    Click for more information about setting a parameter as a combo parameter.

  • Number - the TDM Portal displays the minimum and maximum values of this parameter. If the populated values exceed a parameter's range, an error message is displayed.

  • Date - populate the value using the following format: YYYY-MM-DD.

    • Notes:

    • The date format is defined in DATETIME_FORMAT parameter of the config.ini Fabric file. The default format is 'yyyy-MM-dd HH:mm:ss.SSS'.

    • The parameter's search may be based on either a Date (removing the time from the Date format) or a Datetime.

      Examples:

      • 2023-12-28
      • 2024-04-03 10:00:00
    • The date value is set without quotation marks.

  • Text - populate the value using a free text.

How Do I Add a Group of Parameters?

  • Click Add Group.

  • Note that nested groups of parameters can be added, for example, in order to define an inner group inside an outer group:

    task parameters grouping

How Do I Remove a Parameter or a Parameters' Group?

  1. Click the trash icon next to the parameter in order to delete it.

  2. Click Remove Group to remove a parameters' group.

Getting the Number of Matching Entities

Click Refresh next to the Number of entities matched in order to calculate the number of entities that match the selected parameters. The Business parameters selection supports the parent-child hierarchy relationship between the LUs of the selected BE. It can cross-check the matching entities of a selected combination of parameters and take into consideration parameters from different LUs in the same BE hierarchy. For example, selecting customers based on their number of open cases, subscriber_type, and vip_status (as seen in the above image).

  • Click refesh to display the number of matching entities according to the parameters’ conditions.

Click for more information about the TDM parameters' tables and View - created by TDM in the TDM DB - that display a hierarchical view of TDM parameters.

Random

Get a random list of entities from the parameters' tables created in the TDM DB for the root LU of the task's BE.

Testers can select this option only if they are permitted to do so in the task's source environment.

Filter out Reserved Entities

  • The Filter out Reserved Entities options enable the user to decide which reserved entities will be excluded from the task execution:

    • Reserved by others (default option) - excludes entities that are currently reserved by users other than the task creator/executor and allows task execution on entities reserved by the task creator/executor.

    • All reserved entities - excludes all reserved entities, including those reserved by the task creator/executor. This option ensures there is no overlapping with any of the reserved entities, regardless of who has reserved them.

  • The reserved entities are excluded when running the following tasks:

    • Load tasks when both the Replace IDs for the copied entities and the Generate clones for an entity checkboxes are cleared, i.e., the task loads the entities with their source IDs.
    • Delete tasks
    • Reserve tasks
  • Notes:

    • Set the target environment in the Target component in order to exclude reserved entities when calculating the Number of entities matched based on the selected Business parameters in the Subset component.

    • The Filter out Reserved Entities radio buttons are disabled in tasks when:

    • Either the Replace IDs for the copied entities or the Generate clones for an entity checkbox is checked in the Target component, i.e., the task creates new replicas of the copied entities.

    • Creating an AI-based Training task, i.e., the Destination of test data in the Target component is set to AI training.

    • The task's selection method is Predefined entity list.

Synthetic Entities - Load all Generated Entities of a Selected Data Generation Execution

The Subset form displays all available rule-based/AI-based data generation executions. Select an execution to load its generated entities to the target environment:

load generation

Select and Load Data Snapshot (version) Task

When the Policy for Fetching data in the Source component is set to Selected snapshot (version), you need to select a data snapshot (version) to be loaded to the target environment. The Subset form (below) displays a list of available data snapshots (versions) that can be selected and reloaded to the target environment. By default, the TDM Portal displays a list of the data versions created during the last month. To set a different period, edit the From date and To date settings.

The following options are available:

Select all entities of the selected version

data version

Entity List

Populate the list of entity IDs separated by a comma in the Entity IDs setting.

Each update of this list may change the list of available versions for the task.

K2view's TDM displays all available versions created in the source environment for the task's LUs and the selected entities.

load version with entities