Class UserInJourneyChoiceNode


  • public class UserInJourneyChoiceNode
    extends AbstractUserInJourneyChoiceNode
    Choice node that splits the flow depending whether the user is in a given journey.
    Since:
    12.2.0
    Version:
    $Revision: 23535 $ $Date: 2020-01-14 13:18:39 -0300 (Tue, 14 Jan 2020) $
    • Constructor Detail

      • UserInJourneyChoiceNode

        public UserInJourneyChoiceNode​(org.json.JSONObject object,
                                       FlowEntry flowEntry)
        Creates a new instance from the given JSON configuration node.
        Parameters:
        object - the JSON configuration node
        flowEntry - the flow entry
        Since:
        12.2.0
      • UserInJourneyChoiceNode

        public UserInJourneyChoiceNode​(String id,
                                       String name,
                                       String journeyId,
                                       FlowNode trueNode,
                                       FlowNode falseNode)
        Creates a new instance.
        Parameters:
        id - the node identifier
        name - the node name
        journeyId - the journey identifier
        trueNode - the truthy follow-up
        falseNode - the falsy follow-up
        Since:
        12.2.0