Forum Discussion
I have a use case where a child pipeline has multiple expr files.
I want to pass a value to the child pipeline using which my chiled pipeline would choose one of the expression library.
is there a way to do it ?
In the child pipeline properties, add a parameter that youâll use to specify the library to load. Then, in the âExpression Librariesâ section, add a path that uses the parameter you just created. Youâll probably also want to set the name of the imported library using the âAsâ column. In the screenshot below, the parameter is config
and defaults to the library file dev.expr
and the library can be referenced via lib.conf
in expressions:
In the parent pipeline, youâll pass the config
parameter with the library paths that you want. In the screenshot below, there are two documents entering the PipeExec with âdev.exprâ and âprod.exprâ as the paths. So, the child will execute first with the âdevâ library and then with the âprodâ library.