Skip to main content
Level 3
Mar 6, 2025 3:00 PM UTC
Solved

Profile details of those who went to end journey after a condition

Hi Team, Can you please let me know how to find out the exact details of these profiles (profile id) of the profile who went to end after a condition box rather than proceeding ahead to an action. 

As this end box doesn't have any action id or step id, I am even unable to query out these profiles.

SatheeskannaK
SatheeskannaKAccepted solution
Adobe Champion, Community Advisor, UG Leader
Mar 6, 2025 3:13 PM UTC

@hardikja3 Below query should give you all details including the records that went to end activity.

 

SELECT
timestamp,
_experience.journeyOrchestration.stepEvents.journeyVersionID,
_experience.journeyOrchestration.stepEvents.profileID,
_experience.journeyOrchestration.stepEvents.nodeName,
_experience.journeyOrchestration.stepEvents.journeyNodeProcessed,
_experience.journeyOrchestration.serviceType,
to_json(_experience.journeyOrchestration.profile),
to_json(_experience.journeyOrchestration.serviceEvents)
FROM journey_step_events
WHERE _experience.journeyOrchestration.stepEvents.journeyVersionID='<<id>>'
ORDER BY timestamp;

Thanks, Sathees

3 replies

SatheeskannaK
Adobe Champion, Community Advisor, UG Leader
SatheeskannaKAdobe Champion, Community Advisor, UG LeaderAccepted solution
Adobe Champion, Community Advisor, UG Leader
Mar 6, 2025 3:13 PM UTC

@hardikja3 Below query should give you all details including the records that went to end activity.

 

SELECT
timestamp,
_experience.journeyOrchestration.stepEvents.journeyVersionID,
_experience.journeyOrchestration.stepEvents.profileID,
_experience.journeyOrchestration.stepEvents.nodeName,
_experience.journeyOrchestration.stepEvents.journeyNodeProcessed,
_experience.journeyOrchestration.serviceType,
to_json(_experience.journeyOrchestration.profile),
to_json(_experience.journeyOrchestration.serviceEvents)
FROM journey_step_events
WHERE _experience.journeyOrchestration.stepEvents.journeyVersionID='<<id>>'
ORDER BY timestamp;

Translate
Thanks, Sathees
Mohan_Dugganab
Adobe Employee
Adobe Employee
Mar 6, 2025 4:35 PM UTC

You can add an additional filter based on nodeId and the Id can be retrieved by clicking on the end node.

 

SELECT to_json(_experience), timestamp FROM journey_step_events WHERE _experience.journeyorchestration.stepevents.journeyVersionID = <journeyVersionId> and _experience.journeyOrchestration.stepEvents.nodeID = '<NodeId in the UI corresponding to the respective node>' order by TIMESTAMP DESC

 

Translate
Sukrity_Wadhwa
Level 4
Apr 2, 2025 2:19 PM UTC

Hi @hardikja3,

Were you able to resolve this query with the help of the provided solutions, or do you still need further assistance? Please let us know. If any of the answers were helpful in moving you closer to a resolution, even partially, we encourage you to mark the one that helped the most as the 'Correct Reply.'
Thank you!

Translate
Sukrity Wadhwa