Current Session Enricher

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 schemaSample payload of a context eventEvent outcome in the profile document
profiles/observations/webExampleSample profile



The enricher writes to the profiles/observations/web/currentSessions/{sessionId} subsection of a customer profile.


  • Send feedback

    If you find any information that is unclear or incorrect, please let us know so that we can improve the Dev Portal content.

  • Get Help

    Use our private help channel. Receive updates over email and contact our specialists directly.

  • hybris Experts

    If you need more information about this topic, visit hybris Experts to post your own question and interact with our community and experts.