DOCUMENTED Adobe shows this join in its SQL samples or CJA setup VERIFIED Adobe shows no join, but its validation query passed in a production sandbox LOGICAL Adobe defines both fields as the same thing but shows no join; unverified until its query passes SAME PERSON linked through identity, not a key

Learning AEP and AJO? I’m building a hands-on masterclass. Join the waitlist

The map

All 27 datasets in one diagram, arranged left to right in the order data is written: definitions at publish time, journey execution, delivery, engagement, decisioning, then profile records. Click a dataset to see its joins; click a line to see the join keys.

Show:
Drag to pan · Ctrl/⌘ + scroll or pinch to zoom · Fit shows all 27

How data flows

What happens in AJO, and which dataset each step writes to. Timings are Adobe's where stated.

  1. Publish

    Publishing a journey or campaign writes AJO Entity rows (Adobe: you may see them 30 minutes after publication, and "for the time being" there are two entries for each message publication). Activating one writes the custom metadata datasets if business fields are defined. Adobe doesn't document when Journeys, AJO Classification or the offer catalog datasets are written.

  2. Enter

    When a person enters and moves through a journey, Journey Optimizer streams one Journey Step Events row per node transition. Rejections (capping, quiet hours, re-entrance, arbitration) and Read Audience export jobs are written to the same dataset as service events.

  3. Decide

    If a message or surface asks for an offer, each decision request writes an ExD Decision Event with the propositions and the items chosen.

  4. Send

    The action sends the message. Every outcome (sent, bounce, exclude, delay, and so on) lands in Message Feedback, batch-ingested with up to two hours of delay. ISP bounces can arrive later still. A BCC copy writes Secondary Recipient Feedback.

  5. Interact

    Opens, clicks, unsubscribes and replies write Email Tracking; push interactions reported by the app write Push Tracking; inbound SMS and WhatsApp replies write Channel Tracking. Web and in-app interactions go mainly to your own datastream dataset, not a system dataset.

  6. Remember

    Consent changes, push tokens, API-triggered profiles, frequency counters and composed audiences are written to profile record datasets, which merge into Real-Time Customer Profile by identity.

Datasets

One card per dataset, grouped by lane. "How data gets in" quotes Adobe where Adobe describes it; where Adobe doesn't, the card says "not documented".

Join keys

Every line on the map, with the exact fields. "Validate" points to the query in the validation pack that proves or disproves it.

FromToKeysCardinalityHow we knowValidate

Three join rules from Adobe and the community.

  • messageID identifies a message, not a delivery. Adobe: "In some journeys, messageID may not be unique for each individual delivery." For send-level work, combine journeyVersionID, journeyActionID and batchInstanceID (batch journeys) or identityMap.
  • Joining Message Feedback to Email Tracking on journeyVersionID and journeyActionID alone gives "illogical" results, because every recipient shares those IDs (Experience League community thread, 2024). Use a per-message or per-person key.
  • identityMap in Message Feedback "only reflects the identity used at runtime". A push sent event may carry only the ECID. Adobe suggests joining a profile snapshot dataset for the full identity list.

Which key for which question. Each definition is Adobe's own wording from the schema dictionary or query examples.

  • One send to one person: messageProfile.messageProfileID. Adobe: "A unique id refers to every single message sent as part of a MessageExecution activity." Use it to join a send to its opens and clicks. For a strict send-level key, Adobe says to "combine the journeyVersionID, journeyActionID, and batchInstanceID (for batch journeys) or identityMap fields".
  • One send activity: messageExecution.messageExecutionID. Adobe: "The CJM activity originating this message." It covers many recipients, which is why Adobe's BCC sample also matches the recipient address. Don't use it as a per-person delivery key.
  • One message's content and names: messageExecution.messageID. Adobe: "Unique ID representing a non-personalized message sent to the end user." It "may not be unique for each individual delivery". Join it to AJO Entity for journey, action and subject names, after deduplicating Entity.
  • One person across messages: identityMap or the profile identity, remembering Adobe's note that in Message Feedback it "only reflects the identity used at runtime".
  • One raw event row: _id. Use it to remove duplicate rows, not to join datasets.

Validation pack

Eighteen queries that test the joins on your own data. Each returns counts and percentages, not customer data. Run them in Query Service on your own sandbox. A join that passes there is VERIFIED for your data.

Before you run them.

  • Adobe documents only a few of these table names. The rest are the default names AJO created in a 2026 sandbox; confirm yours with SHOW TABLES; in Query Service. Journey Inbound's table name ends in a creation timestamp, written here as journey_inbound_<suffix>.
  • Replace <journeyVersionID> with a journey version that sent email in the last 7 days.
  • Consent Service and Push Profile can't be queried; Adobe says "Table not provisioned for dataset" is expected for them.
  • These queries are written from Adobe's documented field paths. Joins marked VERIFIED passed in one production sandbox; the rest haven't been run against every sandbox. Field paths in yours can differ.
  • Query Service syntax that tripped us up: LATERAL VIEW was rejected, so these queries call explode() in the SELECT list instead. Field or column names that are also SQL keywords, such as options and matched, failed until renamed or quoted.

Insights and anomalies

Queries that turn the datasets into answers. ADOBE marks Adobe's published samples (lightly adapted, with their known typos fixed); BUILT marks queries I built from documented fields, untested. Exclude today from trend queries: Message Feedback can be two hours behind.

Caveats and sources

  • Built from the AJO schemas as they appeared in November 2026, plus Adobe's documentation as of 20 November 2026. Your fields can differ, especially in datasets Adobe changed this year.
  • Adobe changes these datasets often: Message Feedback moved to batch in June 2026, the BCC dataset was renamed in March 2026, and the 13-month / 90-day retention rollout to existing sandboxes was delayed in October 2026. Re-check before relying on any detail.
  • Adobe's own sample queries contain errors (a missing FROM clause, a stray semicolon, a singular table name). The samples here fix the ones I found; test before reuse.
  • Several of Adobe's pages disagree with each other: what Inbound Activity holds, whether feedbackStatus uses delivered, and the path of correlationID (scopeDetails in the CJA docs, decisionScopeDetails in the schema dictionary). Check your own schema.
  • Nine more datasets on Adobe's list aren't covered here: the two Non Profile datasets, Send-Time Optimization Scores, Engagement Scores, Message Export, Message Event Metadata, Loyalty Challenge State Change, Orchestrated Campaign Custom Metadata and Audience Orchestration Profile. Adobe ties the Non Profile datasets to the High Throughput add-on, the two Message Export datasets to the Message Export add-on, and Loyalty to a Loyalty licence; they only appear where those are enabled.

Adobe sources

  • Query examples, datasets (updated 16 Oct 2026): https://experienceleague.adobe.com/en/docs/journey-optimizer/using/data-management/datasets/datasets-query-examples
  • Examples of queries, journey step events (17 Nov 2026): https://experienceleague.adobe.com/en/docs/journey-optimizer/using/reporting/reports/query-examples
  • Create journey reports (6 Oct 2026): https://experienceleague.adobe.com/en/docs/journey-optimizer/using/reporting/reports/sharing-overview
  • Journey step event field list (10 Nov 2026): https://experienceleague.adobe.com/en/docs/journey-optimizer/using/reporting/reports/sharing-field-list
  • Get started with datasets (16 Oct 2026): https://experienceleague.adobe.com/en/docs/journey-optimizer/using/data-management/datasets/get-started-datasets
  • Dataset TTL guardrails (16 Oct 2026): https://experienceleague.adobe.com/en/docs/journey-optimizer/using/data-management/datasets/datasets-ttl
  • Export datasets (16 Oct 2026): https://experienceleague.adobe.com/en/docs/journey-optimizer/using/data-management/datasets/export-datasets
  • Integrate Journey Optimizer with CJA (28 Sep 2026): https://experienceleague.adobe.com/en/docs/analytics-platform/using/integrations/ajo
  • Integrate Decision Management with CJA (28 Sep 2026): https://experienceleague.adobe.com/en/docs/analytics-platform/using/integrations/ajo-od
  • Use custom metadata (3 Nov 2026): https://experienceleague.adobe.com/en/docs/journey-optimizer/using/connect-systems/custom-metadata
  • Reporting and experimentation prerequisites (19 Oct 2026): https://experienceleague.adobe.com/en/docs/journey-optimizer/using/reporting/channel-report/reporting-configuration
  • Build segment definitions (11 Nov 2026): https://experienceleague.adobe.com/en/docs/journey-optimizer/using/audiences-profiles-identities/audiences/create/creating-a-segment-definition
  • Release notes 2026: https://experienceleague.adobe.com/en/docs/journey-optimizer/using/whats-new/previous-rn-new/release-notes-2026
  • AJO schema dictionary: https://experienceleague.adobe.com/en/tools/ajo-schemas

Community

  • Illogical results when message feedback and email tracking datasets are joined (2024): https://experienceleaguecommunities.adobe.com/adobe-real-time-customer-data-platform-25/illogical-results-when-message-feedback-and-email-tracking-datasets-ajo-ootb-are-joined-using-query-service-144764
  • Update Profile action reverting consent field (2026): https://experienceleaguecommunities.adobe.com/adobe-journey-optimizer-15/update-profile-action-reverting-same-schema-s-consent-field-251475

Building with AJO or AEP?

I’m putting together a hands-on masterclass built around real implementation problems like these.