Interface IExperienceAutomationFlowContext


  • @StableMinor(version="17.0",
                 sinceVersion="12.1")
    public interface IExperienceAutomationFlowContext
    Describes an experience automation flow context.
    Since:
    12.1.0
    Version:
    $Revision$ $Date$
    • Method Detail

      • getFlowUser

        UserConfig getFlowUser()
                        throws PortalException
        Returns the user that generated the event that triggered the flow. May be null if the event was not generated by a user.
        Returns:
        the user that generated the event that triggered the flow.
        Throws:
        PortalException
        Since:
        12.1.0
      • getEventData

        java.util.Map<java.lang.String,​java.lang.Object> getEventData()
                                                                     throws PortalException
        Returns an unmodifiable map with the attributes of the event that triggered the experience automation flow.
        The Java type of the attribute depends on the data type of the attribute as follows:

        The attributes may be wrapped within a list.

        The maps keys are the monitor field's identifier. For example, the map could have the following key-value pair:
                "lum_event.datetime": 08/13/2019 15:50 (a date object)
         

        The key of the key-value pair is the event date time field identifier. The value is the date the event was generated.
        Returns:
        an unmodifiable map with the attributes of the event that triggered the experience automation flow.
        Throws:
        PortalException
        Since:
        12.1.0