Client Metadata Was Not Updated in Actions

Overview

An Action calls Management API and updates client_metadata.

However, the updated value was not reflected in the event.client.metadata.

Applies To

  • Actions
  • Management AP
  • event.client.metadata

Solution

If an Action hits Management API and updates client_metadata, the new values will not be reflected in event.client.metadata within the same execution.

The updated values will become available/visible in the next execution.

NOTE: Multiple Actions can run in parallel. Updating client metadata within an Action can create race conditions.

Related References