Forum Discussion

amit_saroha's avatar
amit_saroha
New Contributor III
4 years ago

How to check the parameters passed from parent to child pipeline

Hi,

I am running into a situation where when I submit one pipeline from a parent it runs but didn’t do the desired processing however when I run it individually it runs fine.

How do I get to know what parameters are passed from parent to child? and why does it don not work when calling from the parent pipeline? Is there any way to track it?

5 Replies

  • You can capture the parameters passed in the runtime by going to your child pipeline and viewing the Pipeline properties. Next to each property in the table is a checkbox called “capture”, which will store the value of the property that’s passed in to the child. You can view the captured value in the child pipeline’s execution statistics. See the extra details tab.

    Hope this helps with your situation.

    • amit_saroha's avatar
      amit_saroha
      New Contributor III

      I am capturing the parameters but when I look at the child pipeline in execution statistics, it doesn’t show anything in extra details.

      • tlikarish's avatar
        tlikarish
        Employee

        If there isn’t anything, then maybe the parent pipeline is missing configuration. Can you provide more information about the parent pipeline’s Pipeline Execute snap? If possible could you share your configuration?

  • virender_prajap's avatar
    virender_prajap
    New Contributor III

    You can see the parameter value in the dashboard from pipeline properties if you have checked capture option in pipeline properties of the child pipeline.
    Alternatively, you can check the parameter in child pipeline using pipe.args
    Example: pipe.args.hasPath('your_parameter') ? 'present' : 'not present'