Overview
The Current Session enricher for SAP Hybris Profile is a lambda enricher that copies the last updated session data into the property path observations.web.currentSessions.{sessionId}. The system can use this data to record user's latest activity.
The Current Session enricher triggers on every update of the observations.web section of a profile document.
Events
The Current Session enricher reacts to notifications that the Profile service saves to the Context service.
The following schema triggers the Current Session enricher:
Triggering schema | Sample payload of a context event | Event outcome in the profile document |
---|---|---|
profiles/observations/web | Example | Sample profile |
The enricher writes to the profiles/observations/web/currentSessions/{sessionId}
subsection of a customer profile.
If you find any information that is unclear or incorrect, please let us know so that we can improve the Dev Portal content.
Use our private help channel. Receive updates over email and contact our specialists directly.
If you need more information about this topic, visit hybris Experts to post your own question and interact with our community and experts.