Description:

Executes an external command on the contents of a flow file, and creates a new flow file with the results of the command.

Additional Details...

Tags:

command execution, command, stream, execute

Properties:

In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, whether a property supports the NiFi Expression Language, and whether a property is considered "sensitive", meaning that its value will be encrypted. Before entering a value in a sensitive property, ensure that the nifi.properties file has an entry for the property nifi.sensitive.props.key.

NameDefault ValueValid ValuesDescription
Command ArgumentsThe arguments to supply to the executable delimited by the ';' character.
Supports Expression Language: true
Command PathSpecifies the command to be executed; if just the name of an executable is provided, it must be in the user's environment PATH.
Supports Expression Language: true
Working DirectoryThe directory to use as the current working directory when executing the command
Supports Expression Language: true

Relationships:

NameDescription
originalFlowFiles that were successfully processed
output streamThe destination path for the flow file created from the command's output