# What happens if multiple bulk edit tasks start at the same time?

The app processes tasks sequentially to prevent conflicts.

The Bulk Price Editor Sami app ensures that only one task runs at a time to prevent conflicts when multiple tasks attempt to update the same products simultaneously. If multiple tasks are scheduled at the same time, they are processed in the order they were created, not all at once.

**1.** **How It Works: Tasks are queued in order of creation**

If two or more tasks are set to run at the same time, the task created first will start first. The next task will begin only after the first task is fully completed.

*Example:*

9:00 AM: A user creates Task A to change the price of all T-shirts from $20 to $25.

9:05 AM: The same user creates Task B to change T-shirt titles from “Casual Tee” to “Premium Tee”.

Both tasks are scheduled to run at 10:00 AM.

Result: Task A runs first. Once it completes, Task B starts.

**2. Why does the app prevent simultaneous task execution?**

If two tasks run at the same time on the same product, they may override each other’s changes, leading to inconsistent or unexpected results.

*Example of a Conflict:*

Task X: Increases the price of a product from $50 to $55.

Task Y: Changes the price of the same product from $50 to $48 at the same time.

If both run together, the product may end up with an incorrect or unpredictable price.

**3. How to Manage Task Scheduling Efficiently**\
– Schedule tasks at different times to avoid waiting in the queue.\
– Check task order in the app dashboard to see which task will run first.\
– If a task is stuck in “Pending” status, wait for the previous task to finish.

If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address **<support@samita.io>.**

<br>


---

# Agent Instructions: 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:

```
GET https://docs.samita.io/bulk-price-editor-sami/faqs/what-happens-if-multiple-bulk-edit-tasks-start-at-the-same-time.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
