You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Justin M Cavinee (JIRA)" <ji...@apache.org> on 2016/10/31 16:50:58 UTC
[jira] [Created] (NIFI-2970) ExecuteScript: Shared Scope
Justin M Cavinee created NIFI-2970:
--------------------------------------
Summary: ExecuteScript: Shared Scope
Key: NIFI-2970
URL: https://issues.apache.org/jira/browse/NIFI-2970
Project: Apache NiFi
Issue Type: Bug
Reporter: Justin M Cavinee
Priority: Minor
The Execute Script processor appears to have some shared scope between multiple instances of the processor.
My workflow has 2 different execute script processors, configured to use files. In both scripts, I used a variable called Interfaces. On the first script I developed, it was instantiated as a Hash, and worked fine. In the second script, I then attempted to use the variable Interfaces as an array. When I started the ExecuteScript Processor, I received an run-time error about failing to convert Hash to Array. The only change I needed to fix the error was to use a different variable name.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)