โ02-23-2018 01:16 PM
Hello All,
We have a pipeline where we are referring to an external expression lib for some transformation.
I am getting the โfile not foundโ when the same pipeline is being invoked from some other projectโs pipeline.
Wanted to understand how the references are made for files in snaplogic.
/KS
โ02-23-2018 01:37 PM
In "edit pipeline, it is the very last option:
Of course, you have to upload it in the same directory as the pipeline, (often โฆ/shared/), and that is equivalent to just uploading the file through the manager. I donโt BELIEVE the name makes a difference, but making that, the filename, and the library name itself the same name is generally good practice.
โ02-23-2018 01:53 PM
Yeah, i placed the file under the directory where my pipeline resides which is mainly being called from another parent pipeline from the same directory.
However we have designed a reprocess pipeline, which will invoke all the failed pipelines and in thins case the reference is breaking. I am not sure how can that be fixed.
โ02-23-2018 02:27 PM
Also would like to know if there is any restriction on the size of the โ.exprโ file.
I am trying to import a 3 MB file which has typemap for a specific key/value mapping.
When the whole file is referred the gives error โcan not parse the fileโ when the same file is given with small amount of data it gets imported without any issue.
โ02-24-2018 07:27 AM
In any pipeline that directly uses an expr file, you should have the pipeline refer to the expr file, as I indicated above.
I canโt imagine that 3MB is too big for the expr file. Have you tried actually running it, as opposed to preview? The preview has a limit, and it can cause the error you are talking about, though it is hard to believe it would affect expr files. The ones I am using are TINY.