Supports Expression Language: trueScript Body | | | Body of script to execute. Only one of Script File or Script Body may be used |
Module Directory | | | Comma-separated list of paths to files and/or directories which contain modules required by the script. Supports Expression Language: true |
Dynamic Properties:
Dynamic Properties allow the user to specify both the name and value of a property.
Name | Value | Description |
---|
A script engine property to update | The value to set it to | 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 |
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. |
System Resource Considerations:
None specified.See Also:
InvokeScriptedProcessor