Hi @dugganab @SatheeskannaK
We have a use case
We aim for the individual to receive the initial email, concluding their journey at that point. Subsequently, we intend to implement a condition in AJO that excludes this specific profile, preventing them from receiving any emails for a period of six months
Thanks
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Hello, @MYSTERIOUSMAN .
I'm addressing the same use case, and here's how I'm managing it. I introduced a conditional step in the AJO journey and incorporated the following code in the advanced editor:
count(#{ExperiencePlatform.Bookingexperienceevent.experienceevent.all(currentDataPackField.eventType == "message.feedback" and nowWithDelta(-6,"months") <= currentDataPackField.timestamp).timestamp}) >= 0
In essence, it verifies whether the profile has any "message.feedback" events in the past 6 months. Please note that this assessment includes all types of "message.feedback" events, including emails, push notifications, etc. If necessary, you can insert an additional condition specifically for emails. The "Bookingexperienceevent" represents a datasource field group in our scenario.
Thanks
you can create a batch segment leveraging the attributes from message feedback event schema and accordingly suppress it, within the journey.
This schema / dataset contains the message delivery logs.
Views
Replies
Total Likes
i know we can create a segment but i want to try it out in AJO condition level
Views
Replies
Total Likes
You can use the segment in the condition as well (using inSegment() function) and if you are looking to directly access the message feedback event attributes in the condition in a journey that starts with a read audience, or an audience qualification or a business event activity - that's not supported.
You can use a custom solution something like below.
1. Create 2 attributes in the profile,
OR
You can write a complex query in the audience build via API and make sure email stats data is available in the profile (profile enabled) and with the requirement data range. Use this audience (inSegment function) in the journey to allow them to next email channel or not.
Views
Replies
Total Likes
For Option 1 Can you share the steps how to it
can we write a IF else condition inside AJO condition
Views
Replies
Total Likes
There is no if else function within the condition activity. You can try with OOTB functions that can be used within Journey conditions.
Hello, @MYSTERIOUSMAN .
I'm addressing the same use case, and here's how I'm managing it. I introduced a conditional step in the AJO journey and incorporated the following code in the advanced editor:
count(#{ExperiencePlatform.Bookingexperienceevent.experienceevent.all(currentDataPackField.eventType == "message.feedback" and nowWithDelta(-6,"months") <= currentDataPackField.timestamp).timestamp}) >= 0
In essence, it verifies whether the profile has any "message.feedback" events in the past 6 months. Please note that this assessment includes all types of "message.feedback" events, including emails, push notifications, etc. If necessary, you can insert an additional condition specifically for emails. The "Bookingexperienceevent" represents a datasource field group in our scenario.
Thanks
Hi @MYSTERIOUSMAN,
Were you able to resolve this query with the help of the given solutions or do you still need more help here? Do let us know. In case the given solutions were helpful, then kindly choose the one that helped you the most as the 'Correct Reply'.
Thanks!
Views
Replies
Total Likes