Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
SOLVED

Expression in Journey Condition

Avatar

Level 1

need to write expression in journey condition to check if we have any sent email status for specific journey id ?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Creating expressions using experience events will no longer be supported in the expression editor used in journey conditions

Reference -  https://experienceleague.adobe.com/en/docs/journey-optimizer/using/orchestrate-journeys/journey-use-... 

Mohan_Dugganab_0-1751625077953.png

Example (Note this is not recommended) - 
count(#{ExperiencePlatform.AJOFeedback.experienceevent.all(currentDataPackField.eventType == "message.feedback" and nowWithDelta(-1,"days") <= currentDataPackField.timestamp and currentDataPackField._experience.customerJourneyManagement.messageDeliveryfeedback.feedbackStatus=='sent' and currentDataPackField._experience.customerJourneyManagement.messageExecution.journeyVersionID == '<journeyVersionID>')._id}) >= 0

View solution in original post

5 Replies

Avatar

Employee Advisor

You can create an audience checking for sent email status and a specific journey version Id and leverage the same audience using inAudience() function 

Avatar

Level 1

Thanks for your answer! that's exactly what we are doing currently.

We were exploring if it's possible to use the event attributes ('sent', 'open') based condition directly in Journey condition node to avoid hitting the audience guardrail limitations. 

Avatar

Correct answer by
Employee Advisor

Creating expressions using experience events will no longer be supported in the expression editor used in journey conditions

Reference -  https://experienceleague.adobe.com/en/docs/journey-optimizer/using/orchestrate-journeys/journey-use-... 

Mohan_Dugganab_0-1751625077953.png

Example (Note this is not recommended) - 
count(#{ExperiencePlatform.AJOFeedback.experienceevent.all(currentDataPackField.eventType == "message.feedback" and nowWithDelta(-1,"days") <= currentDataPackField.timestamp and currentDataPackField._experience.customerJourneyManagement.messageDeliveryfeedback.feedbackStatus=='sent' and currentDataPackField._experience.customerJourneyManagement.messageExecution.journeyVersionID == '<journeyVersionID>')._id}) >= 0

Avatar

Level 1

thanks but according to the link you pasted, it only for new organization but if we have been using the AJO from past 3 years the we should be able to use them in expression, right ?

 

Avatar

Employee Advisor

Correct, existing Org's won't be impacted.

 

Mohan_Dugganab_1-1751625650003.png