Workflows Service, gRPC: ExecutionService.Get
Retrieves specified Workflow execution.
gRPC request
rpc Get (GetExecutionRequest) returns (GetExecutionResponse)
GetExecutionRequest
{
"executionId": "string"
}
Field |
Description |
executionId |
string Required field. ID of the Workflow execution. |
GetExecutionResponse
{
"execution": {
"id": "string",
"workflowId": "string",
"input": {
// Includes only one of the fields `inputJson`
"inputJson": "string"
// end of the list of possible fields
},
"result": {
// Includes only one of the fields `resultJson`
"resultJson": "string"
// end of the list of possible fields
},
"error": {
"message": "string",
"errorCode": "string"
},
"status": "Status",
"startedAt": "google.protobuf.Timestamp",
"duration": "google.protobuf.Duration"
}
}
Field |
Description |
execution |
Workflow execution details. |
Execution
Field |
Description |
id |
string ID of the Workflow execution. Generated at creation time. |
workflowId |
string ID of the Workflow. |
input |
Input data for the Workflow execution. |
result |
Result of the Workflow execution. |
error |
Error details, in case Workflow execution failed. |
status |
enum Status Status of the Workflow execution
|
startedAt |
Start timestamp for the Workflow execution. |
duration |
Duration of the Workflow execution. |
ExecutionInput
Field |
Description |
inputJson |
string JSON input data for the Workflow execution. Includes only one of the fields |
ExecutionResult
Field |
Description |
resultJson |
string JSON result of the Workflow execution. Includes only one of the fields |
ExecutionError
Field |
Description |
message |
string Error message of the Workflow execution. |
errorCode |
string Error code of the Workflow execution. |