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. Anyother properties (not in bold) are considered optional. The table also indicates any default values, whether a property supports the NiFi Expression Language (or simply EL), 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.

NameDescriptionDefault ValueValid ValuesELSensitive
Command ArgumentsThe arguments to supply to the executable delimited by the ';' character.YesNo
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.YesNo
Working DirectoryThe directory to use as the current working directory when executing the commandYesNo

Relationships:

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