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

Estimated reading: 2 minutes 24 views

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.

Leave a Comment

CONTENTS