ScriptedTransformRecord 2.0.0

Bundle
org.apache.nifi | nifi-scripting-nar
Description
Provides the ability to evaluate a simple script against each record in an incoming FlowFile. The script may transform the record in some way, filter the record, or fork additional records. See Processor's Additional Details for more information.
Tags
filter, groovy, modify, record, script, transform, update
Input Requirement
REQUIRED
Supports Sensitive Dynamic Properties
false
Properties
Restrictions
Required Permission Explanation
execute code Provides operator the ability to execute arbitrary code assuming all permissions that NiFi has.
Relationships
Name Description
success Each FlowFile that were successfully transformed will be routed to this Relationship
failure Any FlowFile that cannot be transformed will be routed to this Relationship
Writes Attributes
Name Description
mime.type Sets the mime.type attribute to the MIME Type specified by the Record Writer
record.count The number of records in the FlowFile
record.error.message This attribute provides on failure the error message encountered by the Reader or Writer.
See Also