Help Centre › Building Processes
This article describes the RPA Compression functionality to decompress a gzip file.
For a full list of available functions, please read COMPRESSION functions.
Description
The Gzip decompress function decompresses a gzip (.gz) file. The output file defaults to the original filename with the .gz extension removed.
Setting it up
To use the Gzip decompress function, follow these instructions:
{{popups:rpas/add:action=gzip-decompress}}
Once on a process map:
- Navigate to the process where you would like to add the Gzip decompress function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the COMPRESSION Gzip decompress option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| File Path | Yes | Text | - | The path to the gzip file to decompress |
| Output Path | No | Text | - | The path for the decompressed output file. Defaults to removing the .gz extension. |
| Variable | No | Text | decompressed_file | Variable name to store the output file path |
Output variables
| Variable | Type | Description |
|---|---|---|
| {decompressed_file} | String | The path to the decompressed output file |
Errors
| Error | Description |
|---|---|
| File not found | The gzip file does not exist |
| Invalid gzip | The file is not a valid gzip archive |
Tips
- The default output path removes the .gz extension from the input filename
- Use an explicit output path if you want to decompress to a different location