Object for managing trigger events for an action.

The ActionTrigger object manages the trigger events for user to select when adding the action into a workflow.


default_event: str

The default event that comes selected by default on the UI when adding the action to the workflow.

event_list: list

The list of available trigger events of the action execution.


build_event_list(self, event_list: list) -> list

Returns the event list as list of dictionaries with name and value keys.

build_data() -> dict

Returns the trigger events data. This includes the default condition and the trigger conditions full list.