Follow-up: Since a sub-workflow is part of the parent workflow, shouldn’t it have access to the parent workflow’s variables?
No, it is not possible to directly access parent workflow variables from a sub-workflow. To pass values, you should use inputParameters
on the sub-workflow task to explicitly pass the required parameters.
If you have a common set of values that need to be replicated across workflows, avoid replicating large datasets, as this can exceed the task output size limit and cause workflows to break. It’s recommended not to use Conductor as a persistence store. Instead, only pass the specific data needed for the next step in processing. This approach ensures efficiency and avoids issues with task output size thresholds.