(warning) This is universal across all Plugins!

All ARGOS Low-code Plugins support Return Value as out. The usage of Return Value is common among all Plugins.


There are three (3) types of Return Value to choose from and they are;

  1. String

  2. CSV

  3. File

Below explains how to use each one of the 3 Return Value types.




1. String

  • It returns the output as character string.

  • You must use a User Defined Variable to store the character string.


2. CSV

  • An array User Defined Variable will be automatically created (but it will not show up in the Variable block of STU.)
  • Variable group name becomes the Group Name of the variable. In example above, variable_group will be the group name of the variable.
  • For data which has title headers, leave [First row contains column header] checked. In this case, the header becomes the variable name – see example below.
  • For data which does not have title headers, (in other words, the data’s first row contains the first data), uncheck [First row contains column header]. In this case, uppercase alphabet letters (such as A, B, C…) will become variable names – see example below.

CSV Example 1     For Data with title headers (leave the check mark on)

To access Scott Smith’s email address, the variable notation will look like this


{{variable_group.Email Address(3)}}

 

Please note both Group Name and Variable Name are case sensitive.

The title header row becomes the (0) index in CSV, thus the fourth row will be (3) index.


CSV Example 1     For Data without title headers (uncheck First row contains column header check box.)


To access Scott Smith’s email address, the variable notation will look like this


{{variable_group.C(3)}}

 

The Excel style table headers, A, B, C and so on, will become the variable name

User uppercase for variable names.

The title header row becomes the (0) index in CSV, thus the fourth row will be (3) index.


3. File

  • This Return Value will generate either .txt or .csv file.
  • In File Name field, please give the full file path of the file you will be generating.
  • BE CAREFUL!  If an existing file is selected, it will be overwritten.
  • In the Variable for file, enter one User Defined Variable. This will store the full file-path for the file you are generating.