Environment Variables

Environment Variables

Environment Variable is a very useful resource to send variables values to the context of your script. You can, for example, add tokens of accounts and devices to be used later in the script when it runs. The Analysis will get these variables as “environment” parameters and used them in the context of your script.

  1. New Environment variable:  add or remove an environment variable.
  2. Variable Key: the variable name
  3. Variable Value: the value of the variable. integer or string
You can have up to 20 environment variables for each Analysis.
If you attempt to add additional items beyond the limit, a notification will appear indicating that the maximum capacity has been reached.

    • Related Articles

    • Grouping variables

      Grouping variables It is expected that most devices will send more than one variable at a certain time. And when visualizing the data, the user may want to see them synchronized at each sample period. For example, a device sends a GPS location, speed ...
    • Filtered Variables

      Filtered variables is a type of field in the Input Form widget. It enables you to select a single value from a list that can change dynamically based on the values of other fields. For this type of field to work, you need to link it to another field. ...
    • Payload Parser - Context & global variables

      If you are going to create your own parser, you need to understand how context works. When you start writing your own Payload Parser, you can use certain globals variables in your code. Think of these global variables as variables that you can access ...
    • Filtering Out Variables with Parser Code

      When your device sends data from a device to TagoIO, a parser code may be added to your device (located in the 'Payload Parser' tab) to extract and create the variables in the buckets using TagoIO format.  If you want to save space in your register ...
    • Distributing analysis

      You can create a copy of your analysis and send a link to anyone so they can add a copy to their account through a customized install page. They will be able to edit the analysis as they wish. Others will be able to edit the analysis that they ...