Forum Discussion
If you need to make a value available to different snaps of a pipeline, you can use a child pipeline and pass in pipeline parameters with the values of interest. In this case, you can use a DirectoryBrowser snap to get the file metadata and then use a PipelineExecute snap to start the child pipeline and pass it the relevant metadata.
The following is a screenshot of the parent pipeline showing the PipelineExecute snap that is calling the child and passing in the file path and last update time:
In the child pipeline, we have a file reader that will read the file passed in by the parent. (I didn’t do anything with the _lastModifiedTime variable)
Here are the exports of those pipelines:
FileMetadataParent_2018_10_11.slp (3.9 KB)
FileMetadataChild_2018_10_11.slp (3.9 KB)
- David_Wang7 years agoNew Contributor II
Hey, your guys are amazing! I just tried same idea right before read your reply. Thanks a ton.