Documents
Are DBOS workflow steps always executed on the same executor as the parent workflow?
Are DBOS workflow steps always executed on the same executor as the parent workflow?
Type
Answer
Status
Published
Created
Sep 25, 2025
Updated
Sep 25, 2025
Created by
Dosu Bot

Yes DBOS workflow steps are always executed on the same executor as the parent workflow, which means step parameters do not need to be serializable.

If you want steps within a workflow to be distributed across multiple executors, you must explicitly enqueue the steps onto a queue. In that case, the parameters must be serializable to support distributed execution.