Starts a workflow execution and waits for it to finish.
Arguments
| Arguments | |
|---|---|
workflow_id |
ID of the workflow. |
location |
If present, location of the workflow. The location of the caller is used by default. |
project_id |
If present, project ID associated with the workflow. The project ID of the caller is used by default. |
argument |
Optional execution parameters. |
Returns
The execution's result.
Raised exceptions
| Exceptions | |
|---|---|
ExecutionError |
If the execution finishes unsuccessfully. |
TimeoutError |
If the execution takes more than 30 minutes to finish. |
TypeError |
If type of argument is not one of: integer, float, bool, string, list, or dict. |