There are cases when extra functionality is needed on certain nodes to enhance process management and execution.Documentation Index
Fetch the complete documentation index at: https://docs.flowx.ai/llms.txt
Use this file to discover all available pages before exploring further.

Subprocess
- Async mode: The parent process will continue without waiting for the subprocess to finish.
Select if this task should be invoked asynchronously. Make tasks asynchronous if they cannot be executed instantaneously, for example, a task performed by an outside service.
- Sync mode: The parent process must wait for the subprocess to finish before advancing.

Starting multiple subprocesses
This node type can also be used for starting a set of subprocesses that will be started and run at the same time. This is useful when there is an array of values in the parent process parameters, and a subprocess needs to be started for each element in that array.
Business rule example
Below is an example of an MVEL business rule used to generate a list of shipping codes:
When designing such a subprocess that will be started in a loop, remember that the input value for the subprocess (one of the values from the array in the parent process) will be stored in the subprocess parameter values under the key named item. This key should be used inside the subprocess. If this subprocess produces any results, they should be stored under a key named result to be sent back to the parent process.

Subprocess business rule example
Here’s an MVEL business rule for a subprocess that processes shipping codes:Result (one of the subprocess instances)
The result shows the output of a process that has handled multiple shipping codes. The structure is:

