Using Data survivorship

Proceed as follows to use Data survivorship feature.

Fix Pack 12
Proceed as follows to use Data survivorship feature.
  1. Import the latest mdmce-env.zip file to get the Data survivorship artifacts. For more information, see Data survivorship feature artifacts.
  2. Add sources to the SYS_Data Survivorship Sources Lookup table.
    Important:
    • Once you add a source to this Lookup table, you cannot delete the source. The source can then only be marked as either Active=true or false.
    • Only the sources marked as Active=true can be added from the Spec detail page.
    • Sources that are associated with some attribute cannot be marked as Active=false.
    1. Go to the Left pane > Design manager > Lookup tables. The Lookup table console page opens.
    2. In the Lookup table console page, click , and search for the SYS_Data Survivorship Sources Lookup table.
    3. Click SYS_Data Survivorship Sources Lookup table to open the table.
    4. Click and sources under the Lookup table entries section.
      Note: The Lookup table entries section already has a default Core source for the data that is entered by a Product Master user.
    5. Enter the name of the source, a short description, and specify whether the source is active (true).
      Important:
      • Ensure that the name of the source is case-sensitive to avoid duplicate data.
      • When you import data into a Data survivorship enabled, select the SYS_Data Survivorship Sources Lookup table as a dependency which will ensure that contents of this lookup table will be added in the exported zip.
  3. Go to Left pane > Settings > Application settings tab, and Enable Data survivorship feature.
    Important: Only Admin, Full Admin, and Solution Developer roles can enable this feature on company level for all the users.
  4. Enable Data survivorship feature on an attribute.
    Important: The Data survivorship feature can only be enabled for the Primary and Secondary Specs.
    1. Go to the Data model manager > Spec console and Attribute collection > Primary tab. The Spec console and Attribute collection page opens.
    2. In the Spec console and Attribute collection page, click , and search for the spec that contains attributes for which you want to enable Data survivorship. The <spec name> page opens.
    3. In the <spec name> page, click a node in the left page of the Attribute structure and details section. The right pane displays attribute details.
    4. In the right pane of the Attribute structure and details section, specify the Data survivorship values, and click Save. For more information, see Updating Data survivorship properties through the Spec console.
  5. Go to the single-edit page of an item that has Data survivorship-enabled attributes to enter values for the attribute fetching data from the multiple sources. For more information, see Source tab.

Scenarios and examples

Following are some scenarios and examples for understanding the Data survivorship feature.
Scenarios
  1. Attribute value provided by different sources

    The final value depends on the priority set in the Source Survivorship Rule.

  2. Trusted source does not provide data

    Data is taken from the source having next highest precedence.

  3. Multiple data entries from the same source

    If the source is the high precedence source, the latest entry is considered as the final value for the attribute.

Examples
Aggregate rule - sample data
Source Color
Source 1 Blue
Source 2 Green
Source 3 Black
Final value
Color attribute = Blue, Green, Black
Average rule - sample data
Source Product discount
Source 1 5%
Source 2 10%
Source 3 15%
Final value
Product Discount = 10%
Last modified rule - sample data
Source PName Timestamp (DD-MM-YYYY HH:MM)
Source 1 iPhone 14 30-05-2023 05:05
Source 2 iPhone 14 Pro 30-05-2023 06:05
Source 3 Apple iPhone 14 Pro 30-05-2023 06:15
Final value
PName attribute = Apple iPhone 14 Pro
Minimum value rule - sample data
Source Product discount
Source 1 5%
Source 2 10%
Source 3 15%
Final value
Product discount attribute = 5%
Maximum value rule - sample data
Source Product discount
Source 1 5%
Source 2 10%
Source 3 15%
Final value
Product discount attribute = 15%
Oldest value rule - sample data
Source PName Timestamp (DD-MM-YYYY HH:MM)
Source 1 iPhone 14 12-05-2023 05:05
Source 2 iPhone 14 Pro 11-05-2023 06:05
Source 3 Apple iPhone 14 Pro 30-05-2023 06:15
Final value
PName attribute = iPhone 14 Pro
Value frequency rule - sample data
Source Product discount
Source 1 5%
Source 2 10%
Source 3 10%
Final value
Product discount attribute = 10%