ActionCondition
Object for managing pre conditions for an action.
The ActionCondition
object manages the pre conditions for user to select when adding the action into a workflow.
Attributes:
default_event: str
default_event: str
The default event that comes selected by default on the UI when adding the action to the workflow.
event_list: list
event_list: list
The list of available events for pre condition of the action exection.
Methods:
build_event_list(self, event_list: list) -> list
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 Pre-condition's data. This includes the default condition and the pre conditions full list.
Updated over 2 years ago