FILE Append data to a .json file function

The FILE Append data to a .json file function in RPA.

Help CentreBuilding Processes

This article describes the RPA File functionality to append data to a .json file.

For a full list of available functions, please read FILE functions.


Description

The FILE Append data to a .json file function allows you to append data to a .json file.


Setting it up

To use the FILE Append data to a .json file function, follow these instructions:

{{popups:rpas/add:action=file-append-json}}

Once on a process map:

  1. Navigate to the process where you would like to add the FILE Append data to a .json file function
  2. Click on the green button’s drop-down (right side of the green button labelled “Process”)
  3. On the menu that appears, click on the “+ Activity” item
  4. From here you can select the FILE Append data to a .json file option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
FileYesText-The path to the JSON file
VariableYesText-Variable containing the data to append

Output variables

This action does not produce output variables.


Errors

ErrorDescription
File not foundThe specified file does not exist
Invalid JSONThe existing file does not contain valid JSON

Tips

  • Appends data to an existing JSON array file

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.