ExecuteScript Examples
January 3, 2022 ยท View on GitHub
The following examples show how scripts can be integrated into MiNiFi using the ExecuteScript processor.
Heads or Tails
This script will generate empty flowfiles and transfer them randomly to the Success or Failure relationship of the ExecuteScript.
Reverse FlowFile's content
This script reverses the content of the incoming flowfiles, and adds the current timestamp as an attribute.