In this example, we are going to generate a report of a flow. This report will be compressed in a .zip file (base64 encoded) and it will contain information about each function that has been executed.
These are the steps that are going to be covered:
In this case, we have placed some random functions in a flow and, at the end, the report tool.
The configuration of the report function looks as follows:
We could, for example, upload the output of this function to an FTP server, but in this case, we are going to download it from the report view. To do so, we must first run a test and go to our My Data overview. Once the data record has finished running, we open its report by clicking on the “Report” button:
We scroll down until we find the Report object:
We click now on the “Run” button. This will open a pop-up in which we can download our report:
You can download a sample .zip file here.
Our report file will always contain these two files:
- datarecord.txt: the data record that was inserted into the flow.
- report.csv: a CSV file containing all functions that were executed.
Apart from these two, the system will generate a different folder for each function that contains input or output files.