User Tools

Site Tools


en:actions:actionreadenvironmentvariable

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:actions:actionreadenvironmentvariable [2016/10/09 09:10]
en:actions:actionreadenvironmentvariable [2020/02/09 13:26] (current)
Line 1: Line 1:
 +====== Read environment variable ======
  
 +This action can read the value of an environment variable. It can also read all the environment variables, and put them in an array.
 +
 +//Added in Actionaz **[[en:​changelog#​v360|3.6.0]]**.//​
 +
 +===== Standard parameters =====
 +
 +==== Input Parameters ====
 +== Mode ==
 +You have the choice between two modes :
 +  * read a specific environment variable
 +  * read all the environment variables
 +The first mode is the default mode.
 +
 +== Environment Variable ==
 +The name of the environment variable to read. The combo box contains all the environment varaibles declared at this time. In the 'all variables'​ mode this field is disabled.
 +==== Output Parameter ====
 +== Variable ==
 +Name of the variable used to store the result.
 +
 +In the //All environment variable// mode, the named variable in the field will be an array populated with the value of all the environment variables.
 +
 +===== Exceptions =====
 +
 +  * [[en:​actions:​exceptions#​Bad parameter|Bad parameter]]
 +  * [[en:​actions:​exceptions#​Code error|Code error]]
 +  * [[en:​actions:​exceptions#​timeout|Timeout]]
 +
 +----
 +Go back to **[[en:​actions#​data|list actions]]**
 +
 +Other languages for this page : [[fr:​actions:​actionreadenvironmentvariable|(fr)]]