Quotas and limits

Stay organized with collections Save and categorize content based on your preferences.

This page lists the quotas and limits that apply to Workflows.

Step limit

Workflows enforces the following step limits for each workflow:

Limit Description Value
Assignments per step The maximum number of assignments that may be performed in a single step 50
Conditions per switch The maximum number of conditions that may be evaluated in a single switch block 50
Maximum call stack depth The maximum number of levels of calling functions; for example, when a subworkflow calls itself or another subworkflow; or, standard library function calls that in turn call other functions 20
Minimum steps The minimum number of steps within a workflow 1
Maximum steps The maximum number of steps that may be performed in a single workflow execution 100,000

Parallel steps

Workflows enforces the following limits when using parallel steps.

Limit Description Value
Branches per step The maximum number of branches supported within a parallel step 10
Parallel depth The maximum depth that parallel steps can be nested 2
Concurrent branches and iterations The maximum number of branches and iterations that can concurrently execute before further branches and iterations are queued to wait 20
Uncaught exceptions within a parallel step The maximum number of unhandled exceptions that can be raised during the execution of the workflow (in total) 100

Resource limit

Workflows enforces the following usage limits:

Limit Description Value
Total workflows The maximum number of workflows you can deploy per project 10,000
Source code size The maximum size of the YAML or JSON file that defines your workflow 128 KB
Response size The maximum size of an HTTP response (if saved to a variable, the memory limit for variables applies) 2 MB
Memory limit for variables The maximum amount of memory that you can use for all variables that you define in a single execution of a given workflow 512 KB
Arguments size The maximum size of the arguments you can pass when creating a workflow execution 512 KB
Event size The maximum size of the Eventarc payload you can pass when triggering a workflow execution 512 KB
Execution retention The maximum retention period (after a workflow execution completes) of an execution's history and results 90 days

Request limit

Workflows enforces the following usage limits for each Google Cloud project:

Limit Description Value
Concurrent executions The maximum number of active workflow executions per region, per project; concurrent executions are those that have started and not yet completed or failed, including any that are waiting. Once the limit is reached, new executions fail with an HTTP 429 Too many requests status code. 2,000
Execution duration The maximum duration (from start time to end time) for a workflow execution; any workflow that passes this limit ends with a time-out error 1 year
Workflow API requests The maximum number of API requests (create, update, list, get, delete) from all workflows in your project (per minute per location) 1,200
Execution API get requests The maximum number of requests to get workflow executions from all workflows in your project (per minute per location) 6,000
Execution API list requests The maximum number of requests to list workflow executions from all workflows in your project (per minute per location) 1,200
Execution API write requests The maximum number of requests to create and cancel workflow executions (including Eventarc-triggered executions) from all workflows in your project (per minute per location).

If Eventarc-triggered executions exceed this maximum, the events are retried following the Eventarc retry policy.

6,000
HTTP requests to callback endpoints The maximum number of `SendHttpCallback` API requests per minute per location made on execution resources from all workflows in your project 1,500

Quota increase requests

If your project needs more of a particular resource than your quotas allow, you can request an increase to most quotas in the Google Cloud console. Find out more about quota increase requests.