Support Questions

Find answers, ask questions, and share your expertise

Who agreed with this solution

avatar
Super Guru

Hi @rajivswe_2k7 ,

Is it possible that you are not specifying the path In "Module Directory"  property of the ExecuteScript Processor where all required dependencies can be located?

Also my understanding that the script in such processor is evaluated on each flowfile so if  you are running complex code that requires a lot of external dependencies this could be costly. A cleaner and more efficient way is to create custom processor where all the code and dependencies gets packaged as NAR file, or if you are using version 2.0 you can create custom processor using python extensions if the same thing can be implemented in python.

Hope that helps.

 

 

View solution in original post

Who agreed with this solution