> [!NOTE]
> **Note:** This routine is deprecated. Use this connector [helper method](https://docs.cloud.google.com/workflows/docs/reference/googleapis/workflowexecutions/v1/projects.locations.workflows.executions/run) instead.

Starts a workflow execution and waits for it to finish.

## Arguments

| Arguments ||
|---|---|
| `workflow_id` | `string` ID of the workflow. |
| `location` | `string` If present, location of the workflow. The location of the caller is used by default. |
| `project_id` | `string` 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. |