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 |
---|---|---|---|
activity_type | Enum('EXECUTION', 'MESSAGE', 'PROCESS', name='activitytype') | neither | |
bundle_id | Reference to the bundle this record is associated with. Allowed for CONNECTOR, FILE, FLOW, PLUGIN, ROLE, SCHEDULER, SCHEMA, SETTING, TAG, WRAPPER. Not allowed for BUNDLE, BUNDLE_REPOSITORY, EXECUTION, GIT_CONFIG, MESSAGE, OAUTH, ORGANIZATION, PROCESS, PROJECT, SCHEDULE, SYNC_CONFIG, USER, VAULT_CONFIG, WEBHOOK, WORKSPACE. Mutually exclusive with project_id | UUID() | both |
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', 'FTP', 'GIT', 'GOOGLE', 'IMAP', 'K8S', 'LDAP', 'MSTEAMS', 'MYSQL', 'OPENAI', 'PS', 'REDIS', 'REST', 'SCP', 'SMB', 'SMTP', 'SOAP', 'SQLMSSQL', 'SQLORACLE', 'SQLPG', 'SSH', 'VAULT', 'WEBDAV', 'XMLRPC', name='connectortype') | both |
created_at | DateTime(timezone=True) | export only | |
created_by | UUID() | export only | |
deleted_at | DateTime(timezone=True) | export only | |
deleted_by | UUID() | export only | |
dependency_id | The ID of the dependency record the execution is currently waiting for. | UUID() | neither |
description | Text() | both | |
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() | neither | |
identity_type | Enum('EXECUTION', 'GIT_CONFIG', 'SCHEDULE', 'SYNC_CONFIG', 'USER', 'WEBHOOK', 'WORKSPACE', name='identitytype') | neither | |
input_value | The data which was passed to the execution. | JSONB(astext_type=Text()) | both |
is_archived | Boolean() | both | |
is_bundle_readonly | Boolean() | neither | |
is_deleted | Boolean() | export only | |
is_hidden | Boolean() | neither | |
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_project_readonly | Boolean() | neither | |
is_readonly | A flag to control if the record can be modified. Allowed for BUNDLE, BUNDLE_REPOSITORY, CONNECTOR, FILE, FLOW, GIT_CONFIG, OAUTH, PLUGIN, PROJECT, ROLE, SCHEDULE, SCHEDULER, SCHEMA, SETTING, SYNC_CONFIG, TAG, VAULT_CONFIG, WEBHOOK, WRAPPER. Not allowed for EXECUTION, MESSAGE, ORGANIZATION, PROCESS, USER, WORKSPACE | Boolean() | both |
is_remote_processed | A flag to control if the execution is processed in a remote workspace. | Boolean() | both |
last_activity | The last time the identity was active in Cloudomation. Output only. | DateTime(timezone=True) | export only |
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 |
modified_at | DateTime(timezone=True) | export only | |
modified_by | UUID() | export only | |
name | String(length=128) | both | |
organization_id | UUID() | export only | |
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 | |
project_id | Reference to the project this record is associated with. Allowed for CONNECTOR, EXECUTION, FILE, FLOW, GIT_CONFIG, MESSAGE, OAUTH, PLUGIN, SCHEDULE, SCHEDULER, SCHEMA, SETTING, SYNC_CONFIG, TAG, VAULT_CONFIG, WEBHOOK, WRAPPER. Not allowed for BUNDLE, BUNDLE_REPOSITORY, ORGANIZATION, PROCESS, PROJECT, ROLE, USER, WORKSPACE. Mutually exclusive with bundle_id. | UUID() | both |
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 |
record_type | Enum('BUNDLE', 'BUNDLE_REPOSITORY', 'CONNECTOR', 'EXECUTION', 'FILE', 'FLOW', 'GIT_CONFIG', 'MESSAGE', 'OAUTH', 'ORGANIZATION', 'PLUGIN', 'PROCESS', 'PROJECT', 'ROLE', 'SCHEDULE', 'SCHEDULER', 'SCHEMA', 'SETTING', 'SYNC_CONFIG', 'TAG', 'USER', 'VAULT_CONFIG', 'WEBHOOK', 'WORKSPACE', 'WRAPPER', name='recordtype') | neither | |
remote_workspace_name | String(length=128) | neither | |
roles | Text() | import only | |
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 |
schema_version | String(length=128) | neither | |
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 |
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 |
unwrapped | If set, wrappers which are registered on the flow are not used | Boolean() | neither |
webhook_id | The associated webhook for this execution | UUID() | both |
workspace_id | UUID() | export only | |
wrapped_by_execution_id | The ID of the execution which wraps this execution. | UUID() | both |
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 |