Forum Discussion

Re: How to pass values to a child snap

It looks like you’re very close. You just need to enable the expression button toggle (=) for the first and third expressions in the Mapper at the beginning of the Child pipeline:

8 Replies

  • ADORAISWAMY's avatar
    ADORAISWAMY
    New Contributor II

    Hi Taylor.
    Thanks very much for replying. I made the change as you suggested but the output view in the child mapper doesn’t show the data as expected, even though it validates “green”. Is that expected or I am mistaken?


    • ptaylor's avatar
      ptaylor
      Employee

      Hi. Unfortunately our UI doesn’t support a way to preview the output of snaps in a child pipeline when executed from the parent pipeline, so what you’re doing here is just executing the child by itself, correct? When you do that, the values of the pipeline parameters that the Mapper is referencing aren’t coming from the parent pipeline; they are just the default values of the pipeline parameters:

      • ADORAISWAMY's avatar
        ADORAISWAMY
        New Contributor II

        Hi Taylor,
        I am actually executing the parent pipeline. So, shouldn’t the child mapper display proper data? Thanks again and your quick response is much appreciated.