Reltio Connect

 View Only
  • 1.  What do the following ATTRIBUTE_ADDED and ATTRIBUTE_CHANGED events on a reference attribute mean

    Posted 07-25-2023 15:40

    I can use help understanding the two events below corresponding to ReferenceAttribute1.

    It looks like the only the crosswalk has changed.

    For ATTRIBUTE_ADDED, does this mean that the value of the crosswalk changed, but the value of the attribute did not? But how can the crosswalk change if the attribute did not exist previously?

    Similarly for ATTRIBUTE_CHANGED, did the crosswalk change, but the reference attribute value did not change? 

    ATTRIBUTE_ADDED
    {
    "type": "ATTRIBUTE_ADDED",
    "attributeType": "configuration/entityTypes/Individual/attributes/ReferenceAttribute1",
    "newValue": {
    "ov": true,
    "id": "hJ0HnZV",
    "crosswalks": [
    {
    "type": "configuration/sources/Salesforce",
    "value": "abc"
    }
    ]
    }
    }

    ATTRIBUTE_CHANGED
    {
    "type": "ATTRIBUTE_CHANGED",
    "attributeType": "configuration/entityTypes/Individual/attributes/ReferenceAttribute1",
    "newValue": {
    "ov": true,
    "id": "AUChGSN",
    "crosswalks": [
    {
    "type": "configuration/sources/Salesforce",
    "value": "def"
    },
    ]
    },
    }



    ------------------------------
    Joseph Hoppe
    ------------------------------


  • 2.  RE: What do the following ATTRIBUTE_ADDED and ATTRIBUTE_CHANGED events on a reference attribute mean

    Founding Member
    Posted 07-26-2023 03:49

    Hi Joseph,

    ATTRIBUTE_ADDED signifies a new attribute is added to the record hence event will have "new Value" only on the other hand ATTRIBUTE_CHANGED signifies a change in the existing attribute of the record and hence "new value" and "old value" both will be part of message with relevant details.



    ------------------------------
    Ashish Rawat
    Sr. Manager
    Fresh Gravity
    Bangalore
    ------------------------------



  • 3.  RE: What do the following ATTRIBUTE_ADDED and ATTRIBUTE_CHANGED events on a reference attribute mean

    Posted 07-26-2023 11:32

    Hi Ashish,

    Yes that makes sense.

    But why does the ATTRIBUTE_ADDED event have a crosswalk but no value?

    Similarly for ATTRIBUTE_CHANGED, did the crosswalk change, but the reference attribute value did not change? If so, that makes sense to me. But ATTRIBUTE_ADDED still does not



    ------------------------------
    Joseph Hoppe
    ------------------------------



  • 4.  RE: What do the following ATTRIBUTE_ADDED and ATTRIBUTE_CHANGED events on a reference attribute mean

    Founding Member
    Posted 07-27-2023 12:33

    Seems like in your case new values are not included, you can check JMSEventsFilteringFields parameter in Physical config if some type of updates are missed out. This is what I have in my config, for me new value as well as old value is part of delta SQS JSON

      "JMSEventsFilteringFields": [
                "startObject",
                "updatedTime",
                "updatedBy",
                "createdBy",
                "createdTime",
                "attributes",
                "type",
                "relations",
                "uri",
                "crosswalks",
                "endObject"
            ],
            "JMSIncludeMergeTime": false,
            "messaging": {
                "destinations": [
                    {
                        "payloadType": "DELTAS",
                        "ovOnly": false,
                        "type": "queue",
                        "provider": "aws://AKIA5RHNQOIVNRNSNVLR:dFb88jqFi4gUk9oBVO3Stp6LwD6RltgYjFWnNHQc@us-east-1",
                        "name": "dev_nXAKlVc0oxePsKQ",
                        "dtssQueue": false,
                        "dataPipelineQueue": false,
                        "enabled": true,
                        "typeFilter": [
                            "ENTITY_CREATED",
                            "ENTITY_REMOVED",
                            "ENTITY_CHANGED",
                            "RELATIONSHIP_CREATED",
                            "RELATIONSHIP_REMOVED",
                            "RELATIONSHIP_CHANGED",
                            "ENTITIES_SPLITTED",
                            "RELATIONSHIP_MERGED",
                            "ENTITIES_MERGED",
                            "ENTITIES_MERGED_MANUALLY",
                            "ENTITIES_MERGED_ON_THE_FLY"
                        ],
                        "objectFilter": "equals(type,'configuration/entityTypes/Person')",
                        "format": "JSON"
                    },
                    {
                        "payloadType": "SNAPSHOT",
                        "type": "queue",
                        "provider": "default",
                        "name": "dev-grouping-events_nXAKlVc0oxePsKQ",
                        "dtssQueue": false,
                        "dataPipelineQueue": false,
                        "enabled": true,
                        "format": "KRYO"
                    }
                ]
            }

     



    ------------------------------
    Ashish Rawat
    Sr. Manager
    Fresh Gravity
    Bangalore
    ------------------------------