event condition is not working | Community
Skip to main content
Level 4
February 15, 2024
Question

event condition is not working

  • February 15, 2024
  • 1 reply
  • 1195 views

HI @mohan_dugganab @satheeskannak @akshaaga @ivanmi1 @_manoj_kumar_ @arpan-garg 

we are passing an event schema attribute in the AJO Condition data type is booloan when we are trying it it is getting failed and this is not array fromat but dont know  why .at(0) is coming we have featched it from data source only
can you let as know the issue or how to pass and event type attribute in AJO event Conditons 
#{ExperiencePlatform.POC_Event.experienceevent.at(0).abc.lookUpDetails.teset01} == true

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

arpan-garg
Community Advisor
Community Advisor
February 15, 2024

Hi @mysteriousman  - As far as I am aware, When you do ExperiencePlatform.POC_Event.experienceevent, it returns all the experienceevent and you have to write a condition to fetch the event that is relevant for you.

 

You can use ExperiencePlatform.POC_Event.experienceevent.all(filtercondition) to fetch the event that is needed, in the filtercondition you can add the condition. You can refer this document for more details https://experienceleague.adobe.com/docs/journey-optimizer/using/orchestrate-journeys/building-advanced-conditions-journeys/syntax/advanced-editor-use-cases.html?lang=en

 

 

Level 4
February 16, 2024

can you help me in framing the qurey we have to fetch the latest event value 

SatheeskannaK
Community Advisor
Community Advisor
February 16, 2024

@mysteriousman This should allow you to get the latest event value,

#{ExperiencePlatform.POC_Event.experienceevent.first().abc.lookUpDetails.teset01} == true

Thanks, Sathees