types
Execution
Status
STATUS_UNSPECIFIEDQUEUEDWorkflow execution is being queued.
RUNNINGWorkflow execution is running.
PAUSEDWorkflow execution is being paused.
STOPPEDWorkflow execution is stopped.
FAILEDWorkflow execution is failed.
FINISHEDWorkflow execution is finished.
id : string
ID of the Workflow execution. Generated at creation time.
workflowId : string
ID of the Workflow.
input : ExecutionInput
Input data for the Workflow execution.
result : ExecutionResult
Result of the Workflow execution.
error : ExecutionError
Error details, in case Workflow execution failed.
status : Status
Status of the Workflow execution
startedAt : google.protobuf.Timestamp
Start timestamp for the Workflow execution.
duration : google.protobuf.Duration
Duration of the Workflow execution.
ExecutionError
message : string
Error message of the Workflow execution.
errorCode : string
Error code of the Workflow execution.
ExecutionInput
One of input
inputJson: stringJSON input data for the Workflow execution.
ExecutionPreview
id : string
ID of the Workflow execution. Generated at creation time.
workflowId : string
ID of the Workflow.
status : Execution.Status
Status of the Workflow execution
startedAt : google.protobuf.Timestamp
Start timestamp for the Workflow execution.
duration : google.protobuf.Duration
Duration of the Workflow execution.
ExecutionResult
One of result
resultJson: stringJSON result of the Workflow execution.
HistoryEntry
Status
STATUS_UNSPECIFIEDSCHEDULEDStep execution is being scheduled.
STARTEDStep execution is started.
COMPLETEDStep execution is completed.
FAILEDStep execution is failed.
CANCEL_REQUESTEDStep execution is requested to be cancelled.
CANCELLEDStep execution is canceled.
FailedAttempt
startedAt : google.protobuf.Timestamp
Start timestamp for the attempt.
duration : google.protobuf.Duration
Duration of the attempt.
error : HistoryEntryError
Error details.
id : string
ID of the Workflow step.
title : string
Title of the Workflow step.
description : string
Description of the Workflow step.
startedAt : google.protobuf.Timestamp
Start timestamp for the Workflow step.
duration : google.protobuf.Duration
Duration of the Workflow step.
input : HistoryEntryInput
Input data for the Workflow step.
output : HistoryEntryOutput
Result of the Workflow step.
error : HistoryEntryError
Error details, in case Workflow step failed.
status : Status
Status of the Workflow step.
type : string
Type of the Workflow step (for example, FunctionCall or HttpCall).
attempts : int64
Number of attempts (including all retries of unsuccessful attempts). Value "1" means there were no retries.
lastError : HistoryEntryError
Last received error details in case of retries.
HistoryEntryError
message : string
Error message of the Workflow step.
errorCode : string
Error code of the Workflow step.
HistoryEntryInput
inputJson: stringJSON input data for the Workflow step.
HistoryEntryOutput
One of output
outputJson: stringJSON result for the Workflow step.
LogOptions
disabled : bool
Is logging from Workflow disabled.
One of destination
logGroupId: stringID of the logging group which should be used for Workflows logs.
folderId: stringID of the folder which default logging group should be used for Workflows.
minLevel : yandex.cloud.logging.v1.LogLevel.Level
Minimum logs level.
See LogLevel.Level for details.
Workflow
Status
STATUS_UNSPECIFIEDCREATINGWorkflow is being created.
ACTIVEWorkflow is ready for use.
UPDATINGWorkflow is being updated.
DELETINGWorkflow is being deleted.
ERRORWorkflow failed. The only allowed action is delete.
id : string
ID of the Workflow. Generated at creation time.
folderId : string
ID of the folder that the Workflow belongs to.
specification : WorkflowSpecification
Specification of the Workflow
createdAt : google.protobuf.Timestamp
Creation timestamp for the Workflow.
name : string
Name of the Workflow. The name is unique within the folder.
description : string
Description of the Workflow.
labels : string
Workflow labels as key:value pairs.
status : Status
Status of the Workflow.
logOptions : LogOptions
Options for logging from the Workflow.
networkId : string
ID of the VPC network Workflow will be executed in, in order to access private resources.
serviceAccountId : string
ID of the Service Account which will be used for resource access in Workflow execution.
WorkflowPreview
id : string
ID of the Workflow. Generated at creation time.
folderId : string
ID of the folder that the Workflow belongs to.
createdAt : google.protobuf.Timestamp
Creation timestamp for the Workflow.
name : string
Name of the Workflow. The name is unique within the folder.
description : string
Description of the Workflow.
labels : string
Workflow labels as key:value pairs.
status : Workflow.Status
Status of the Workflow.
logOptions : LogOptions
Options for logging from the Workflow.
networkId : string
ID of the VPC network Workflow will be executed in, in order to access private resources.
serviceAccountId : string
ID of the Service Account which will be used for resources access in Workflow execution.
WorkflowSpecification
One of spec
specYaml: stringWorkflow specification in YAML format.