> For the complete documentation index, see [llms.txt](https://doc.wearepatchworks.com/product-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.wearepatchworks.com/product-documentation/virtual-environments/implementing-virtual-environments/creating-a-master-process-flow/special-considerations-for-building-master-process-flows/special-considerations-for-building-master-process-flows-run-process-flow-shape.md).

# Special considerations for building master process flows - run process flow shape

## Introduction

The [run process flow](/product-documentation/process-flows/building-process-flows/process-flow-shapes/standard-shapes/run-process-flow-shape.md) shape is used to initialise another (sub) process flow from the current process flow.

## Deploying parent & sub-process flows

If a process flow is running in a [virtual environment](/product-documentation/virtual-environments/about-virtual-environments.md) and it includes a [run process flow](/product-documentation/process-flows/building-process-flows/process-flow-shapes/standard-shapes/run-process-flow-shape.md) shape, the process flow version being called (i.e. the sub-process flow) must exist in the same virtual environment.

Make sure that you [deploy](/product-documentation/virtual-environments/implementing-virtual-environments/deploying-a-single-process-flow-to-a-virtual-environment.md) any required sub-process flows to the same environment as the 'parent' process flows. If a required sub-process flow version can't be found in a virtual environment, the flow run will fail with an error.
