Teneo Developers

Creating Flow and global variables

Introduction

In Teneo Studio, both Flow variables and Global variables can be created and managed. Variables retain their value during a predefined scope.

Global variables affect the whole solution and they can be used by all Flows. They have an unlimited validity during all the user inputs and in all scripts of a session.

Flow variables are only accessible in the Flow in which they are declared.

Bear in mind that variables will hold data that is persistent during the session. Once the session (the dialogue with the end user) has ended or timed out, variables will expire. If it is needed to keep user-related information for longer periods, consider using cookies.

Also, see the Data Actions section.

Create

Flow variables

To add, edit or delete Flow variables, please see here

Global variables

To add variables to the Flow Trigger or Transition, also see the Data Action section.

  • Go to the Solution tab of Teneo Studio and select Globals > Variables.
  • Click the Add button in the top area of the screen.
  • In the right-side of the screen, now write the Name and optionally a Description as well as the Value of the variable. Any descriptive name can be used for the variable.
  • Click Save.

Edit

Flow variables

To add, edit or delete Flow variables, please see here

Global variables

  • Go to the Solution tab of Teneo Studio and select Globals > Variables.
  • Select the variable to edit.
  • In the right-side of the screen, click Edit.
  • Now, update the Name, Description or Value.
  • Remember to Save the changes when done, or alternatively Cancel to discard the changes and exit the edit-mode.

Delete

Flow variables

To add, edit or delete Flow variables, please see here

Global variables

  • Go to the Solution tab of Teneo Studio and select Globals > Variables.
  • Select the variable(s) to be deleted, multi-select is available by pressing Ctrl while selecting.
  • Click Delete in the top-area of the screen.
  • Note that the right-side of the screen will now display an Variable delete pending view, which the user should either Cancel or Apply for each of the selected variables for the actual deletion to be performed.

More about Global Variables
Data Actions
Language Object Variables
NLU Variables in Entities
NLU Variables
Create a Listener
How do Variables and Listeners work
Version Flags