Contextual attibutes after exporting a journey to another sandbox | Community
Skip to main content
LuisCardenas
Level 2
September 1, 2025
Solved

Contextual attibutes after exporting a journey to another sandbox

  • September 1, 2025
  • 1 reply
  • 370 views

Hi all,

 

I want to export a journey triggered by a custom unitary event from PRE to PROD environment. This journey is started by a custom event sent from a 3rd party platform and it sends an email to the customer/profile specified by the custom event. Email uses contextual attributes as content personalizarion.

 

Issue: After exporting the journey (and its dependencies), we see that the context attributes need to be re-added to the template inside the journey in order to get the journey published. However, I get this error when trying to do this:

 

Workaround: The only solution I have found is to delete the email action from the journey and add it again (with re-work configuring everything again). This is not ideal because it involves manual work in PROD environment.

 

I'd appreciate any help on this topic.

 

@mayank_gandhi @satheeskannak 

 
Best answer by Mayank_Gandhi

@luiscardenas I think this is documented somewhere, When you export/import journeys and dependencies, the mapping or schema linkage for contextual attributes sometimes breaks, or the imported message/template isn’t correctly flagged to accept contextual data.

Your current workaround is the only broadly “stable” method: delete, re-add, and remap the contextual attributes in the email configuration. This is manual but ensures everything gets linked properly. You can try t
ry editing the message so its status is “draft,” go to the journey, enable editing, re-select the message. This sometimes forces the UI to recognize the contextual attributes, particularly if you modify the event or context payload mapping just before re-adding the message.

 

1 reply

Mayank_Gandhi
Adobe Employee
Mayank_GandhiAdobe EmployeeAccepted solution
Adobe Employee
September 1, 2025

@luiscardenas I think this is documented somewhere, When you export/import journeys and dependencies, the mapping or schema linkage for contextual attributes sometimes breaks, or the imported message/template isn’t correctly flagged to accept contextual data.

Your current workaround is the only broadly “stable” method: delete, re-add, and remap the contextual attributes in the email configuration. This is manual but ensures everything gets linked properly. You can try t
ry editing the message so its status is “draft,” go to the journey, enable editing, re-select the message. This sometimes forces the UI to recognize the contextual attributes, particularly if you modify the event or context payload mapping just before re-adding the message.

 

LuisCardenas
Level 2
September 2, 2025

Thanks for the quick answer! - Just one thing, when you say "You can try try editing the message so its status is “draft”", do you mean entering in the content templates section and try editing there and then go back to journey canvas?

Mayank_Gandhi
Adobe Employee
Adobe Employee
September 2, 2025

that's right @luiscardenas