As described previously, each event, condition, action, and data element type has both a view which allows users to modify settings and a library module to act upon those user-defined settings. As the following high-level diagram shows, the extension’s event type view will be shown inside an iframe within the Launch application. The user then uses the view to modify settings which are then saved to Launch’s data storage. When the Launch runtime library is built, both the extension’s event type library module as well as the user-defined settings will be included in the runtime library. At runtime, Launch will inject the user-defined settings into the library module.
In the following diagram you can see the link between events, conditions and actions inside the rule processing flow.
The rule processing flow contains the following phases:
triggermethod are provided to the event library module at startup.
settingsinto the rule’s condition library modules where conditions are evaluated.