Metadata Execution in CJA | Community
Skip to main content
Level 3
February 23, 2026
Question

Metadata Execution in CJA

  • February 23, 2026
  • 1 reply
  • 13 views

Dear Community,

 

I have a question regarding the use of the metadata execution helper function in CJA.

 

Our use case is to leverage metadata execution to register the use of fragments without having to create multiple journey nodes in AJO. We are currently testing a journey execution that includes two parameters in the metadata.

 

In the message feedback dataset, the metadata is stored as a map, and I can see the data structured as follows:

[key1 → value1; key2 → value2]

 

However, when I add the metadata field in CJA, it appears in separate rows:

-journey. Breakdown: 

--value1

--value2

 

I would like to know whether there is a way to concatenate the metadata values in CJA so that they appear as:

-journey. Breakdown: 

--value1 - value2

 

I hope I was able to clearly explain my question. Please accept my apologies for not including screenshots, as the current test data cannot be shared.


Thank you in advance for your support.

Filipe Freitas

    1 reply

    Level 3
    February 25, 2026

    Hey Community,

     

    just to share we managed to solve the problem by adjusting the metadata in AJO directly, so the data comes already concatenated in CJA.

     

    In AJO:

    {% let param = "1" %}

    {%#if profile.profile_attributes.attributeA = "XX" %}

      {% let param = "2" %}

    {%else if profile.profile_attributes.attributeA = "YY" %}

      {% let param = "3" %}

    {%/if%}

     

    {%let metadataValue = concat(concat(param , " - "), profile.profile_attributes.attributeB) %}

     

    {{executionMetadata

       key="Metadata"

       value= metadataValue

    }}

     

    Best regards,

    Filipe Freitas