Skip to main content

Workflow limits

Zuora

Workflow limits

Task usage allowances

If you plan to use more than 50k tasks in a month in a sandbox environment (API sandbox, Developer Sandbox, Central Sandbox), please reach out to Zuora support and provide the name of the workflow that you plan to test. Zuora will check the workflow design and determine the limit for you. 

If Zuora detects accidental or intentional volume growth of high task usage that may cause performance slowdown on the system, Zuora may throttle workflow usage.

In the production environment, we do not expect throttling workflow usage, provided that the workflow and the use cases were properly tested in sandbox environment. However, if the system performance is highly impacted due to the bad workflow design or inappropriate use cases, throttling workflow usage may happen.

Zuora will provide always-available resources to support high-priority processing and lower in-queue wait times. For more information, see Dedicated Workflow Workers for Performance Booster Elite and Dedicated Workflow Workers for Performance Booster.

Task data payload size limit

Each workflow task can have a maximum of 5 MB data payload. If the data payload of a workflow task exceeds 5 MB, an error will occur.

You can find the payload size of a task from the Swimlane. You access the Swimlane from the menu of a task run.

wf_data_payload.png

You will be able to find the payload size of a task from the Tasks tab in the Data Size column.

wf_task_data_size.png

In the Metrics tab, you will be able to find the minimum, maximum, and average task data payload sizes for recent workflow runs. If these values are close to the 5 MB limit, you can hover over the workflow to see the tasks that are the most consuming.

Task repeat times limit

When one task or several consecutive tasks keep repeating themselves without changes to the parameters being used, it enters a never-ending loop. This is a waste of resources. To avoid this scenario from happening, a limit for task repeat times is enforced.

The maximum repeat times for each task involved is 100 in the sandbox and 1000 in the production environment. Exceeding this limit will result in an error. Note that iterate flows are not counted as repeated tasks. The limit is not on the run count of a task in a workflow run, but rather the consecutive run times of a task or a section of tasks.

Alert for workflow limits

If a workflow is excessively executed nearing Zuora workflow limits, this workflow will be paused and deactivated. An email notification will be sent to all active users of your Workflow tenant in the last 30 days by default. You can overwrite this configuration to send it to a specific distribution group or users. See Enable alert notifications for details.

Following is a scenario-based threshold :

  • Workflow failure percentage reaches 95%.