Profile details of those who went to end journey after a condition | Community
Skip to main content
Level 3
March 6, 2025
Solved

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

  • March 6, 2025
  • 3 replies
  • 531 views

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.

Best answer by SatheeskannaK

@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;

3 replies

SatheeskannaK
Community Advisor
SatheeskannaKCommunity AdvisorAccepted solution
Community Advisor
March 6, 2025

@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
Mohan_Dugganab
Adobe Employee
Adobe Employee
March 6, 2025

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

 

Sukrity_Wadhwa
Community Manager
Community Manager
April 2, 2025

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!

Sukrity Wadhwa