Parent-child pipeline execute
- 3 years ago
Pero,
No worries – just want to make sure I answer the right question before diving in.
To give an idea of the flow, there are two cases to consider. The pipeline property can be an expression or a static property. In the case that the property is static, the child pipelines are loaded during the prepare and bundled together with the parent. If they are expressions, then the expression is not evaluated before execution begins. After the expression is evaluated, then the Snaplex node will fetch the child pipeline for execution. The child pipeline is fetched once [1] during the execution and that version of the pipeline is used for the remainder of the parent’s execution.
This generally holds true for other asset types as well like accounts. The platform tries to statically link what it can prior to pipeline execution, but has to handle the more dynamic elements separately.
Hope this helps answer your question and let me know if I can clarify anything else or help with a more specific issue.
[1] There was a bug prior to 4.32 where the child pipeline might be loaded more than once, so you may notice different behavior on the previous version.