Why can't I find the individual update for an type of change, attribute that is changed, and the time period of change?

I can see that there are several changes in the Activity log screen for a certain profile, where several attributes got updated:

But when I try to filter out only certain attribute changes, like the Phone number, it does not work:


 

Technical Resolution Summary:

 

The API below is called when you apply the attribute value of Phone.Number.

 

GET https://test-usg.reltio.com/nui/reltioAPI/api/<tenantId>/entities/24VRfg0/_activities?filter=(equals(items.data.type, ENTITY_CHANGED)) and (equals(items.delta.attributeType, 'configuration/entityTypes/Profile/attributes/Phone/attributes/Number')) and (range(timestamp, 1725595200000, 1725681599999)) and (not equals(user, 'collaboration-service'))&max=10&offset=0

 

The items.data.attributeType refers to the type of attribute within the data structure, which can be a simple type, nested type, or reference type, depending on the specific configuration and mapping functions used.

 

To gather the value of items.delta.attributeType, 'configuration/entityTypes/Profile/attributes/Phone/attributes/Number', we need to turn on indexActivityDelta.  The indexActivityDelta parameter, when set to true, allows filtering by specific delta attributes, such as items.delta.attributeType, items.delta.newValue, items.delta.oldValue, and items.delta.sources in activity logs.

 

Delta attributes refer to the characteristics of an object that have changed between its initial state and its updated state. These changes are captured in a deltaCollection field, which includes:

  • A flag (ovChanged) indicates if any OV (Operational Value) values have changed.
  • A delta field containing a collection of attribute deltas detailing the type of change (e.g., ATTRIBUTE_ADDED, ATTRIBUTE_REMOVED, ATTRIBUTE_CHANGED), the attribute type, and the old and new values of the attribute.

 

After changing indexActivityDelta to true, the Reindex task must be run (see the following API call).
 

POST https://test-usg.reltio.com/reltio/reindexActivities?forceIndexing=true&tenantId=<tenantId>&distributed=true&taskPartsCount=16

 
This task allows you to reindex all activity log records in a tenant. However, only the previous month's activity logs are reindexed by default due to performance and storage size considerations. A parameter must be used to reindex all Elastic Search (ES) activities. This can cause a significant load on ES and performance degradation.
 
Please see https://docs.reltio.com/en/explore/get-going-with-apis-and-rocs-utilities/reltio-rest-apis/engage-apis/tasks-api/reindex-activity-log-records
 
 
If you would like to test just the entity that you found did not have the correct activity for a specific entity.  You can apply the following in the request payload.
 

["entities/<entityID"]

 

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.