You can execute the following elements of your SQL workflow:
- All actions in your workflow
- Selected actions
- Actions with selected tags
Before you begin
In the Google Cloud console, go to the Dataform page.
Select or create a repository.
Select or create a development workspace.
Develop your SQL workflow.
Required roles
To get the permissions that you need to manually trigger an execution,
ask your administrator to grant you the
Dataform Editor (roles/dataform.editor
) IAM role on workflowInvocations.
For more information about granting roles, see Manage access to projects, folders, and organizations.
You might also be able to get the required permissions through custom roles or other predefined roles.
Manually execute all actions in your workflow
To manually trigger execution of all actions in your workflow, follow these steps:
- Go to a development workspace.
- Click Start execution, then click All actions.
- Optional: To rebuild all tables from scratch, select the Run with full refresh option. Without this option, Dataform updates incremental tables without rebuilding them from scratch.
- Click Start execution.
Manually execute selected actions
To manually trigger execution of selected actions, follow these steps:
- Go to your development workspace.
- Click Start execution, then do either of the following:
- Click Actions, then select an action that you want to execute.
- Click Actions, then click Multiple actions.
- In the Start execution pane, do the following:
- In the Select actions to execute drop-down, select the actions that you want to execute.
- Optional: To execute the selected actions and their dependencies, select the Include dependencies option.
- Optional: To execute the selected actions and the actions that depend on them, select the Include dependents option.
- Optional: To rebuild all tables from scratch, select the Run with full refresh option.
- Click Start execution.
Manually execute actions with selected tags
To manually trigger execution of actions with selected tags, follow these steps:
- Go to your development workspace.
- Click Start execution, then do either of the following:
- Click Tags, then select a tag that you want to execute.
- Click Tags, then click Multiple tags.
- In the Tags tab, do the following:
- In the Select tags to execute drop-down, select the tags that you want to execute.
- Optional: To execute actions with the selected tags and their dependencies, select the Include dependencies option.
- Optional: To execute actions with the selected tags and the actions that depend on them, select the Include dependents option.
- Optional: To rebuild all tables from scratch, select the Run with full refresh option. Without this option, Dataform updates incremental tables without rebuilding them from scratch.
- Click Start execution.
What's next
- To learn how Dataform executes incremental tables and how to configure an incremental table, see Configure an incremental table.
- To learn how to view execution logs, see Monitor execution logs.
- To learn how to schedule executions with Workflows and Cloud Scheduler, see Schedule executions with Workflows and Cloud Scheduler.
- To learn how to schedule executions with Cloud Composer, see
Schedule executions with Cloud Composer.