Add a Fire Event Action

You add a Fire Event action to invoke a custom event that you have defined in your application.

A custom event can be defined in an application, flow or page, and can be used to perform some action, such as navigating to a page. A custom event can carry a payload that you define when you create the event. The Events editor displays a list of the custom events available in the context.

To add a Fire Event Action:

  1. Open the Actions editor for the page or application.
  2. Create an action chain, or open an existing action chain to add the action in the editor.
  3. Drag Fire Event from the Actions palette into the action chain.
  4. In the Properties pane, select an existing custom event from the drop-down list of available custom events, or click Create to create a new custom event.

    The drop-down list displays the custom events that are available in the current context.

  5. Click Assign to open the Mapper and define the event's payload.

    The event payload depends upon how the custom event is defined. You can use the Mapper to map the payload to a source, such as a page variable, or define a specific value or expression.

    If you need to define the variable, use the + icon to open a dialog where you can define a variable for the artifact (action chain, page, flow, or application).