Workflows Service, gRPC: ExecutionService.Start
Starts new Workflow execution.
gRPC request
rpc Start (StartExecutionRequest) returns (StartExecutionResponse)
StartExecutionRequest
{
"workflow_id": "string",
"input": {
// Includes only one of the fields `input_json`, `input_value`
"input_json": "string",
"input_value": {
// Includes only one of the fields `nullValue`, `numberValue`, `stringValue`, `boolValue`, `structValue`, `listValue`
"nullValue": "NullValue",
"numberValue": "double",
"stringValue": "string",
"boolValue": "bool",
"structValue": "google.protobuf.Struct",
"listValue": {
"values": [
"Value"
]
}
// end of the list of possible fields
}
// end of the list of possible fields
}
}
|
Field |
Description |
|
workflow_id |
string Required field. ID of the Workflow. |
|
input |
Input for the Workflow execution |
ExecutionInput
|
Field |
Description |
|
input_json |
string JSON input data for the Workflow execution. Includes only one of the fields |
|
input_value |
Input value for the Workflow execution. Includes only one of the fields |
Value
|
Field |
Description |
|
nullValue |
enum NullValue Includes only one of the fields |
|
numberValue |
double Includes only one of the fields |
|
stringValue |
string Includes only one of the fields |
|
boolValue |
bool Includes only one of the fields |
|
structValue |
Includes only one of the fields |
|
listValue |
Includes only one of the fields |
ListValue
|
Field |
Description |
|
values[] |
StartExecutionResponse
{
"execution_id": "string"
}
|
Field |
Description |
|
execution_id |
string ID of the Workflow execution. |