> For the complete documentation index, see [llms.txt](https://docs.avonnicomponents.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avonnicomponents.com/flow/miscellaneous/salesforce-flow-limit.md).

# Salesforce Flow Limit

## Concepts

**Interview:** An interview is a running instance of a flow.

**Transaction**

**What are SOQL and DML?**

SOQL (Salesforce Object Query Language) and DML (Data Manipulation Language) are two languages that handle different operations inside a flow.

**SOQL**: It is a specific type of computer language that we can use to communicate with the system to **retrieve** a specific set of data. It is like saying “give me all accounts that John owned” but using the language the system understands. Each request is called a query.

**DML**: Like SOQL, It is a specific type of computer language to **modify** a particular data set, like saying “change all John account rating into Hot”. Each request is called a statement.

## Flow limitations

### **Total number of SOQL queries issued: 100**

You can ask the system to retrieve specific data sets 100 times in one transaction.

### **Total number of records retrieved using 'Get Records' element**:

Limit 50,000.

{% hint style="info" %}
No records limit when using the [Query Data Source](/flow/component-builder/data-sources/query.md).
{% endhint %}

### **Total number of DML statements issued:**

Limit 150

### **Total number of records processed as a result of DML statements**:

Limit 10,000

### **Maximum CPU time on the Salesforce servers:**

Limit 10,000 milliseconds

CPU time is the time the servers use to process your flow solution.

### **Total number of duplicate updates allowed in one batch**:

Limit 12

Duplicate update means you update the “**same record**” in one batch and can only do that less than 12 times per record.

## References

* [General flow information from Salesforce](https://help.salesforce.com/s/articleView?id=sf.flow.htm\&type=5)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.avonnicomponents.com/flow/miscellaneous/salesforce-flow-limit.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
