Running Analysis via Action

Running Analysis via Action

Actions have the power to initiate scripts that run in the Analysis. This is a very powerful feature, as you can define exactly when your code will run.

For example, you can run an Analysis every time data is sent from a device, or when it meets a certain condition. Learn more about Trigger by Variable.

Another thing you could do is trigger the Action when a resource change happens, such as when a new Device is created, or when a new RunUser is registered. Learn more about Trigger by Resource.

You could also create a Schedule Action and trigger the Analysis in a constant time interval.


Setting up the Action

To run an Analysis inside of the Action, you must create your Action and set the field Type of action as Run Analysis.

You can specify up to 10 Analysis that will run in parallel when the Action is triggered.


    • Related Articles

    • Running Analysis as External using Node.JS

      Analysis is what allows you to create powerful applications on TagoIO. When creating analysis you have to choose between running it at TagoIO or External, which means that you will run on your machine. You can choose to run the analysis on an ...
    • Creating Analysis

      Creating your own analysis is easy. First, click on Analysis on the sidebar, then click the + Add Analysis button in the upper right of the analysis main screen. Just write a name and you’re ready to go! 1. Name What you usually use to identify your ...
    • Parser vs. Analysis Comparison

      The Payload Parser was created to handle raw payload sent by the devices in order to extract the measured variables or execute simple operations. Analysis is much more powerful, including access to Devices and external services. Also, there is a cost ...
    • Action cron

      A cron is a command for scheduling a task to be executed periodically sometime in the future. Inside TagoIO, cron is used to define when a Schedule Action will be triggered. To modify the cron of the Action, select the Advanced property in the top ...
    • Analysis Overview

      Analysis is a powerful feature that experts and developers can use to implement scripts to analyze and manipulate data from any device in real-time. The scripts that run at TagoIO are programmed with the Node.js TagoIO's SDK. Get more instructions on ...