Using Data survivorship
Proceed as follows to use Data survivorship feature.
Fix Pack 12Proceed as follows to use Data survivorship feature.
- Import the latest mdmce-env.zip file to get the Data survivorship artifacts. For more information, see Data survivorship feature artifacts.
- 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.
- Go to the Lookup table console page opens. . The
- In the Lookup table console page, click
, and search for the SYS_Data Survivorship Sources Lookup table.
- Click SYS_Data Survivorship Sources Lookup table to open the table.
- Click
and sources under the Lookup table entries section.
Note: The Lookup table entries section already has a defaultCore
source for the data that is entered by a Product Master user. - 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.
- Go to Enable Data survivorship
feature. Important: Only Admin, Full Admin, and Solution Developer roles can enable this feature on company level for all the users.
tab, and
- Enable Data survivorship feature on an attribute. Important: The Data survivorship feature can only be enabled for the Primary and Secondary Specs.
- Go to the Spec console and Attribute collection page opens. tab. The
- 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.
- 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.
- 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.
- 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
-
- Attribute value provided by different sources
The final value depends on the priority set in the Source Survivorship Rule.
- Trusted source does not provide data
Data is taken from the source having next highest precedence.
- 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.
- Attribute value provided by different sources
- 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%