Hi,
We are trying to create a generic data flow where configuration will be received as JSON. Configuration will have a JavaScript to be executed. We are stuck on how to execute the script we received in configuration, as the ExecuteScript processor needs either scriptPath or scriptBody. But in our case script will be in flowFile's attribute. What are all possible ways to achieve this functionality? Along with this, the script should not be able to access the 'session' and 'context' variables available in the ExecuteScript processor. So how to sanitise the script before execution? Regards Anurag
