ActionTrigger
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.
Attributes:
default_event: str
default_event: strThe default event that comes selected by default on the UI when adding the action to the workflow.
event_list: list
event_list: listThe list of available trigger events of the action execution.
Methods:
build_event_list(self, event_list: list) -> list
build_event_list(self, event_list: list) -> listReturns 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.
Updated over 3 years ago
