The following examples show how scripts can be integrated into MiNiFi using the ExecuteScript processor.
This script will generate empty flowfiles and transfer them randomly to the Success or Failure relationship of the ExecuteScript.
This script reverses the content of the incoming flowfiles, and adds the current timestamp as an attribute.