Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 12-16-2024 04:38 AM
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.