ActionCompleteCondition
Object for managing completion conditions for an action.
The ActionCompleteCondition object manages the completion condition 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 events for declaring completion of the action.
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 Completion condition's data. This includes the default condition and the completion conditions full list.
Updated over 3 years ago
