Note: This documentation refers to Gravio 3.8 or older. For Gravio 4 or newer, please refer to the respective documentation on doc.gravio.com . |
The Write Local File Action Component writes a CSV file from the data that it receives.
In this example, we connect it to a ReadCSV Action Component. You can see how the Local File Action Component picks up the incoming fields automatically under “In Fields”:
Unfold the In Fields section and click the “transpose” icon.
This will fill in the fields for the Step Results automatically. Note that the sin.
prefix stands for “Step In”:
Once you have set the fields you can go to “Properties” and define under which filename the file should be stored on the local Gravio server:
The file is saved in the local Gravio HubKit <Gravio data folder>/action/data
folder whereby the <Gravio data folder>
is either:
On Windows: C:\ProgramData\Gravio\action\scripts
On Mac OS: /Library/Application Support/Gravio/action/scripts
On Linux: /etc/opt/gravio/action/scripts
The counterpart of this Action Component is the ReadLocalFile Component.