Jake,
Anything that is logged to a processor's logger will create a bulletin. So from
your script, you should be able
to do something like:
log.warn("Something interesting happened")
And that would generate a WARNING level bulletin. The 'Settings' tab of the
processor allows you to configure
the minimum bulletin level that will actually show on the UI.
Does this make sense?
Thanks
-Mark
> On Aug 30, 2016, at 9:24 AM, Jake Kugel <[email protected]> wrote:
>
> Hello,
>
> I've created a Python script to process flowfiles within an ExecuteScript
> processor following the good example from here:
>
> http://funnifi.blogspot.com/2016/03/executescript-json-to-json-revisited.html
>
> I'm curious if it is possible for my script to post a bulletin to the
> ExecuteScript processor in the event of an error. Is it possible for a
> script within ExecuteScript to post a bulletin, or are bulletin only intended
> for the nifi framework itself to display errors?
>
> Thank you,
> Jake
>