Add "Get Salesforce mapped object" action

Created on 10 June 2025, 2 days ago

Problem/Motivation

When working with entities that are synchronized with Salesforce, users need a way to retrieve the mapping information to use with other Salesforce ECA actions.

Common use cases:

  • Check if an entity has a Salesforce mapping
  • Get the Salesforce ID for subsequent field retrieval
  • Access sync status and timestamps
  • View Salesforce URL for the mapped record

Steps to reproduce

  1. Create an ECA model with "Content entity: View" event
  2. Try to get Salesforce field values for the viewed entity
  3. No way to get the Salesforce ID and object type needed

Proposed resolution

Add a focused action for retrieving mapped object information from entities.

Remaining tasks

  • [x ] Create action plugin
  • [x ] Use MappedObjectStorage::loadByEntity()
  • [ x] Support optional mapping ID filter
  • [x ] Return comprehensive mapping data as tokens
  • [ ] Test with multiple mappings per entity

User interface changes

New action "Get Salesforce mapped object" will appear in ECA.

API changes

None.

Data model changes

None.

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States camoa

Live updates comments and jobs are added and updated live.
  • API addition

    Enhances an existing API or introduces a new subsystem. Depending on the size and impact, possibly backportable to earlier major versions.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024