This property requires exactly one file to be provided..
Supports Expression Language: true (will be evaluated using variable registry only)Script Body | Script Body | | | Body of script to execute. Only one of Script File or Script Body may be used |
Module Directory | Module Directory | | | Comma-separated list of paths to files and/or directories which contain modules required by the script.
This property expects a comma-separated list of resources. Each of the resources may be of any of the following types: file, directory.
Supports Expression Language: true (will be evaluated using variable registry only) |
Dynamic Properties:
Supports Sensitive Dynamic Properties: Yes
Dynamic Properties allow the user to specify both the name and value of a property.
Name | Value | Description |
---|
Script Engine Binding property | Binding property value passed to Script Runner | Updates a script engine property specified by the Dynamic Property's key with the value specified by the Dynamic Property's value Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
Relationships:
Name | Description |
---|
success | FlowFiles that were successfully processed |
failure | FlowFiles that failed to be processed |
Reads Attributes:
None specified.Writes Attributes:
None specified.State management:
Scope | Description |
---|
LOCAL, 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. |
Restricted:
Required Permission | Explanation |
---|
execute code | Provides operator the ability to execute arbitrary code assuming all permissions that NiFi has. |
Input requirement:
This component allows an incoming relationship.System Resource Considerations:
None specified.See Also:
InvokeScriptedProcessor