[ https://issues.apache.org/jira/browse/NIFI-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15582850#comment-15582850 ]
ASF GitHub Bot commented on NIFI-1458: -------------------------------------- Github user alopresto commented on a diff in the pull request: https://github.com/apache/nifi/pull/1045#discussion_r83522085 --- Diff: nifi-nar-bundles/nifi-scripting-bundle/nifi-scripting-processors/src/main/java/org/apache/nifi/processors/script/ExecuteScript.java --- @@ -177,8 +199,8 @@ public void onTrigger(ProcessContext context, ProcessSessionFactory sessionFacto bindings.put("session", session); bindings.put("context", context); bindings.put("log", log); - bindings.put("REL_SUCCESS", REL_SUCCESS); - bindings.put("REL_FAILURE", REL_FAILURE); + bindings.put("REL_SUCCESS", ScriptUtils.REL_SUCCESS); --- End diff -- Same comment as above. > Add scriptable ReportingTask > ---------------------------- > > Key: NIFI-1458 > URL: https://issues.apache.org/jira/browse/NIFI-1458 > Project: Apache NiFi > Issue Type: Improvement > Reporter: Matt Burgess > Assignee: Matt Burgess > > Now that NIFI-210 adds scriptable Processors (and scripted onTrigger bodies), > a great extension would be to add a scriptable ReportingTask. This would > enable users to script their own ReportingTasks using the various supported > scripting languages. -- This message was sent by Atlassian JIRA (v6.3.4#6332)