nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Rosander <>
Subject Re: ExecuteScript once at workflow inception
Date Tue, 28 Mar 2017 14:56:27 GMT
Hey James,

I wonder if you'd be better suited with a Controller Service that could
provide access to configured loggers, etc.

It looks like ExecuteScript can lookup Controller Services [1].  A
script-based Controller Service implementation (so you could use python or
another scripting language there as well) seems like it might be a useful
feature.  If there's interest, I could write up a Jira for it.



On Tue, Mar 28, 2017 at 10:48 AM, James McMahon <>

> Hello. I am interested in calling a python script from ExecuteScript that
> sets up Python loggers and establishes file handles to those loggers for
> use by other python scripts called later in the workflow by other
> ExecuteScript processors. Is there a means to execute a script at workflow
> inception - once only, not once per flowfile? I have found some retry count
> examples in the open source literature, but those seem to enforce counts at
> the flowfile level. In other words the counter restriction sets to 0 for
> each flowfile. Thank you for any insights. -Jim

View raw message