ExecuteGroovyScript 2.3.0¶
BUNDLE¶
org.apache.nifi | nifi-groovyx-nar
DESCRIPTION¶
Experimental Extended Groovy script processor. The script is responsible for handling the incoming flow file (transfer to SUCCESS or remove, e.g.) as well as any flow files created by the script. If the handling is incomplete or incorrect, the session will be rolled back.
INPUT REQUIREMENT¶
ALLOWED
Supports Sensitive Dynamic Properties¶
false
PROPERTIES¶
Property |
Description |
---|---|
groovyx-additional-classpath |
Classpath list separated by semicolon or comma. You can use masks like |
groovyx-failure-strategy |
What to do with unhandled exceptions. If you want to manage exception by code then keep the default value |
groovyx-script-body |
Body of script to execute. Only one of Script File or Script Body may be used |
groovyx-script-file |
Path to script file to execute. Only one of Script File or Script Body may be used |
STATE MANAGEMENT¶
SCOPES |
DESCRIPTION |
---|---|
CLUSTER |
Scripts can store and retrieve state using the State Management APIs. Consult the State Manager section of the Developer’s Guide for more details. |
LOCAL |
Scripts can store and retrieve state using the State Management APIs. Consult the State Manager section of the Developer’s Guide for more details. |
RESTRICTIONS¶
REQUIRED PERMISSION |
EXPLANATION |
---|---|
execute code |
Provides operator the ability to execute arbitrary code assuming all permissions that NiFi has. |
RELATIONSHIPS¶
NAME |
DESCRIPTION |
---|---|
failure |
FlowFiles that failed to be processed |
success |
FlowFiles that were successfully processed |