Executes an external command on the contents of a flow file, and creates a new flow file with the results of the command.
command execution, command, stream, execute
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.
| Name | Default Value | Valid Values | Description |
|---|---|---|---|
| Command Arguments | The arguments to supply to the executable delimited by the ';' character. Supports Expression Language: true | ||
| Command Path | Specifies 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 Directory | The directory to use as the current working directory when executing the command Supports Expression Language: true |
| Name | Description |
|---|---|
| original | FlowFiles that were successfully processed |
| output stream | The destination path for the flow file created from the command's output |