Reltio Connect

 View Only
  • 1.  Data Validation Function based on attribute value count

    Reltio Partner
    Posted 08-14-2023 06:29

    Hi,

    Is it possible to display error message when an attribute has more than one value? In documentation and validation function, I cant find count condition in it.

    For example:

    I am creating an profile through UI and entering two values for an attribute, if it exceeds more than one it should display an error message using data validation function. 

    I know it can be achieved through cardinality but we need to define a survivorship strategy as Aggregation always to achieve cardinality on the attribute. 

    Thanks,



    ------------------------------
    Rahul Rajan
    Fresh Gravity
    ------------------------------


  • 2.  RE: Data Validation Function based on attribute value count

    Reltio Employee
    Posted 08-20-2023 23:26

    hi @Rahul Rajan,

    Thanks for reaching out 

    Currently we don't way to restrict the entity create/update with the values count DVF expression

    However,  You can achieve this with cardinality by updating in your data model for an attributes,

    Here is the reference to configuration where attribute can have min of one value and max of two values

    {
     "URI": "configuration/entityTypes/Individual/attributes/FirstName",
     "cardinality": {
     "minValue": 1,
     "maxValue": 2
     }
     },



    ------------------------------
    Shivaputrappa Patil
    ------------------------------