How can I find who changed an RDM lookup, and why were its other values removed?

Question

A lookup in RDM changed unexpectedly. For example, its localizations (translated values) now hold values that belong to another lookup, and several languages are gone. Who made the change, when, and what did the request contain?

Answer

Use the RDM Activity Log. It shows each change to lookup types, sources, and lookups, with the user who made it and when. It records what changed; it isn't a copy of the request body that a client sent.

See who changed the lookup

  1. In RDM, open the lookup type and select the Activity Log icon on the right of the mapping screen.
  2. Filter by date range, user, canonical value, or source, and by the type of activity: Added, Edited, or Deleted.
  3. Open the activity. It lists each operation in it, such as a value that was added, or changed from its old value to its new value. One request can produce one activity with many operations.

The Activity Log takes about two minutes to show new changes, and it's disabled by default. To enable it, contact Reltio Support.

Why values that weren't in the request were removed

The standard lookup endpoint, POST https://<rdm-service>/lookups/<rdmTenantId>, does a full replacement: it completely replaces the existing lookup with the one in the request. Any source mapping, localization, or parent that isn't in the request is removed. If an integration sent a lookup with the wrong localizations, or with only some of them, the Activity Log shows the missing ones as deleted and the others as added or changed.

The lookup after that change, together with the deletions in the activity, shows what the request contained. To find out why the client sent those values, check the integration or script that runs with the user shown in the activity.

Avoid accidental removals

To change only some parts of a lookup, such as one localization, use a partial update (POST https://<rdm-service>/lookups/<rdmTenantId>/_update) with INSERT, UPDATE, or DELETE operations, so the parts you don't send stay unchanged. Use the full replacement only after you get the complete current lookup and edit it.

 

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

Comments

0 comments

Article is closed for comments.