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

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 events for declaring completion of the action.

Methods:

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 Completion condition's data. This includes the default condition and the completion conditions full list.