Reltio Connect

 View Only
Expand all | Collapse all

Prevent change in Sequence value at the time of addition of different crosswalk

  • 1.  Prevent change in Sequence value at the time of addition of different crosswalk

    Posted 10-29-2024 10:26

    Hi team ,

    We have used a sequencer value for a column like below :-

     

    {
    "label": "Column",
    "name": "Column",
    "type": "String",
    "hidden": false,
    "important": false,
    "system": false,
    "required": true,
    "faceted": true,
    "searchable": true,
    "autoGenerated": true,
    "generator": "SEQ_Column_ID",
    "autoGenerationPattern": "{value}",
    "generateIfEmpty": true,
    "generateIfNotEmpty": false,
    "generatedValueUniqueForCrosswalk": true,
    "attributeOrdering": {
    "orderType": "ASC",
    "orderingStrategy": "LUD"
    },
    "cardinality": {
    "minValue": 0,
    "maxValue": 1
    },
    "uri": "configuration/entityTypes/entity/attributes/Column",
    "skipInDataAccess": false
    }
     
    Now whenever there is any new crosswalk is being added for the same entity ,the sequence value is changing which we don't want .
    Please let us know how to preserve the same sequence value for the column for a specific entity even if there are different crosswalks are being added to the same. 


    ------------------------------
    Utsa Das
    Novartis
    ------------------------------


  • 2.  RE: Prevent change in Sequence value at the time of addition of different crosswalk

    Reltio Employee
    Posted 11-21-2024 05:13

    Hi Utsa,

    The sequence generator works at a crosswalk level, so for any new crosswalks being added to the profile a unique sequence number would be generated. The only hack I can think of to prevent this is to send a "null" value for the sequence generator attribute in the payload, this would trick the platform that you are already sending a value and hence the sequence won't be generated.

    Example:

    "attributes": {
                "column": [
    				{
    					"value": null
    				}
    			]
    		}



    ------------------------------
    Thanks,
    Snehil Kamal
    Senior Solution Architect
    Reltio
    Bangalore
    ------------------------------