Life cycle of a variable

A tool to manage your variables

This feature allows you to display the life cycle of your variables in the form of a graph. Thus, you can quickly know in which sequences your variables are written and read.

This functionality is accessible via the “Variables” tab on the bot construction page:

Choice of the variable

To choose the variable to analyze, click on the drop-down list and make your choice. A graph representing the life cycle of the chosen variable will appear.

Writing

A variable is said to be written, when it is modified by a function (Assign, Increment, Calculation, User input, some buttons, etc).
When a variable is written in a sequence, the name of the sequence is displayed in the graph along with a pen icon.

Reading

A variable is said to be read when it is used by a function (Text, Condition, Calculation, etc).
When a variable is read in a sequence, the name of the sequence is displayed in the graph along with the icon of a book.

Execution order

The execution order is represented by arrows. Thus, we can make sure that a variable is written before being read.
For the sake of clarity, a sequence can be ignored if the variable is neither read nor written. When this is the case, the arrow is dotted indicating that there are other sequences present but having no impact on the variable.

Navigation

It is possible to click on a node to see the details of the sequence on the right side of your screen.

Zoom

It is possible to change the size of the graph by zooming in/out with the mouse wheel.
It is also possible to enlarge the area by moving the double vertical bar to the right.

Plus:
All about variables
The variables related to dates
GPS variables
Calculations on variables
Advanced calculations on variables

➜ Discover Botnation and launch your chatbot easily!