Forum Discussion

wpenfold's avatar
wpenfold
Contributor
5 years ago

Reference pipeline properties from python in a Script Snap

I’d like to be able to reference pipe.projectPath in a python script, in a Script Snap? Is this possible?..what is the syntax?

2 Replies

  • After reading the file and parsing it, you could use the Copy snap to have multiple different validations run simultaneously on the input documents. A downstream Gate snap can combine all the streams into one.

    • sshilpam's avatar
      sshilpam
      New Contributor

      Thank you Ajay for the response.

      We have a file which has the list of conditions. For one component the conditions could be 5 and for other component the conditions could be 10. Since this is dynamic, we will not be able to tell how many data copies are required.

      Is there a way we can build this dynamically.