Registers the "moduleTrigger" funnel trigger type, letting a funnel automation be configured to fire on elearning module progress events. Supplies the id, display title and description shown when choosing a trigger in the funnel automation editor, and builds a blank ModuleFunnelTrigger instance for a developer to configure.

Group: Journeys

Implements: FunnelTriggerType


Properties

PropertyReturnsDescription
descriptionStringShort description of what this trigger does, shown alongside its title in the funnel automation editor.
idStringThe type identifier for this trigger type, used to register it and to match it to ModuleFunnelTrigger instances.
titleStringDisplay title for this trigger type shown when a developer chooses a trigger in the funnel automation editor.

Methods

getId()

Returns: String

The type identifier for this trigger type, used to register it and to match it to ModuleFunnelTrigger instances.

getTitle()

Returns: String

Display title for this trigger type shown when a developer chooses a trigger in the funnel automation editor.

getDescription()

Returns: String

Short description of what this trigger does, shown alongside its title in the funnel automation editor.

create(FormContext form)

Returns: FunnelTrigger

Builds a new, unconfigured ModuleFunnelTrigger. The submitted form is not used; fields are set separately via the trigger's update method once created.

ParameterDescription
formthe submitted form data, not used by this trigger type
To get full access to the Kademi Hub existing customers can login here, or new customers can register here.