Execution
class resources.execution.Execution
Base class: Activity
An automation (flow, script, or connection) which is or was running.
See the corresponding Flow Api class at Execution
Property | Description | Type | Import/Export |
---|---|---|---|
connector_id | The ID of the connector record the execution is using. | UUID() | both |
connector_name | The name of the connector. Only used for type CONNECTION | String(length=128) | neither |
connector_type | The type of the connector / the type of the remote system. | Enum('AWS', 'GIT', 'GOOGLE', 'IMAP', 'K8S', 'LDAP', 'PS', 'REDIS', 'REST', 'SCP', 'SMB', 'SMTP', 'SOAP', 'SQLMSSQL', 'SQLORACLE', 'SQLPG', 'SSH', 'VAULT', 'XMLRPC', name='connectortype') | both |
dependency_id | The ID of the dependency record the execution is currently waiting for. | UUID() | neither |
end_status | Enum('WAITING_DEPENDENCY', 'WAITING_LOCK', 'WAITING_ENGINE', 'WAITING_RESPONSE', 'AT_ENGINE', 'ENDED_SUCCESS', 'ENDED_ERROR', 'ENDED_CANCELLED', 'PAUSED', 'SCHEDULED', 'LOST', name='executionstatus') | neither | |
ended_at | The timestamp when the execution ended. | DateTime(timezone=True) | both |
flow_id | The ID of the flow record the execution is processing. | UUID() | both |
flow_name | The name of the flow. Only used for type FLOW | String(length=128) | neither |
id | UUID() | both | |
input_value | The data which was passed to the execution. | JSONB(astext_type=Text()) | both |
is_paused | A flag to control if the execution should be processed. | Boolean() | both |
is_productive | A flag to control if the execution runs in productive mode. | Boolean() | both |
is_remote_processed | A flag to control if the execution is processed in a remote workspace. | Boolean() | both |
last_sync | DateTime(timezone=True) | both | |
message | A status message. | Text() | both |
message_id | The ID of the message record the execution is currently awaiting a response from. | UUID() | neither |
metadata | Additional data which can be stored in the execution. | JSONB(astext_type=Text()) | both |
output_value | The data returned by the execution | JSONB(astext_type=Text()) | both |
parent_execution_id | The ID of the execution which created this execution. | UUID() | both |
plugin_action_id | UUID() | neither | |
process_id | UUID() | neither | |
protect_inputs | A list of input_value keys which should not be displayed in the user-interface. | JSONB(astext_type=Text()) | both |
protect_outputs | A list of output_value keys which should not be displayed in the user-interface. | JSONB(astext_type=Text()) | both |
remote_workspace_name | String(length=128) | neither | |
runtime | The duration the execution is running. | Interval() | both |
schedule_id | The associated schedule for this execution | UUID() | both |
schedule_name | The name of the schedule. Only used for type SCHEDULE | String(length=128) | neither |
scheduled_for | The timestamp when the execution will continue. This field is also used for timeouts. | DateTime(timezone=True) | both |
script | The script the execution is processing. | Text() | both |
setting_id | The ID of the setting record the execution is currently trying to acquire a lock from. | UUID() | neither |
size_bytes | BigInteger() | neither | |
started_at | The timestamp when the execution started. | DateTime(timezone=True) | both |
status | The status of the execution. Output only. | Enum('WAITING_DEPENDENCY', 'WAITING_LOCK', 'WAITING_ENGINE', 'WAITING_RESPONSE', 'AT_ENGINE', 'ENDED_SUCCESS', 'ENDED_ERROR', 'ENDED_CANCELLED', 'PAUSED', 'SCHEDULED', 'LOST', name='executionstatus') | both |
status_label | String(length=128) | neither | |
sync_config_id | The ID of the workspace sync_config the execution is associated with. | UUID() | both |
type | The type of the execution. | Enum('FLOW', 'SCRIPT', 'CONNECTION', 'SCHEDULE', 'WRAPPER', name='executiontype') | both |
type_label | String(length=128) | neither | |
unwrapped | If set, wrappers which are registered on the flow are not used | Boolean() | neither |
wrapper_id | The ID of the wrapper record the execution is processing. | UUID() | both |
wrapper_name | The name of the wrapper. Only used for type WRAPPER | String(length=128) | neither |