Transformation (4b. Deduplicate Names)
This flow deduplicates the target.name.systemName for RECORD and CONTAINER documents within each container.
It does this by adding a underscore with a number or a value from the content store at the end of the name. This ensures that all transformed hierarchies are unique. The flow does update the target.hierarchies of the object, but not for its children.
Settings
mongoConnection
The Mongo connection string including the database name to connect to.
targetSystem
Specifies the target system. Valid values are: alfresco, documentum, opentextcs, spembedded, spo and other.
When this value is set to alfresco, opentextcs, spo or spembedded, both RECORD and CONTAINER names will be deduplicated when they are in the same container.
When this value is set to documentum, a RECORD and CONTAINER may have the same name in their container. As a result, the deduplication happens separately for RECORD and CONTAINER objects.
When this value is set to other, the flow variable uniqueNameContainersAndRecords will determine how object names are deduplicated.
uniqueNameContainersAndRecords
This setting is only used when targetSystem is set to other. When set to true, both RECORD and CONTAINER names will be deduplicated when they are in the same container. When set to false, a RECORD and CONTAINER may have the same name in their container. Can either be true or false.
appendix
Specifies the value to be used in order to make the name unique. A number is used when no value is provided. If a value is provided, it needs to be a valid property path in the content store that always has a (unique) value. For example: target.versionInfo.seriesId.
When appending a value from the object its properties, please make sure this value does not contain characters that are not allowed by the target system!