Teneo Developers

Flow Variable

Introduction

Variables and listeners are closely connected as a variable with an empty value must be declared so that a listener can access it in its operation and, this way, when the TLML Syntax of a listener is fulfilled, the operation of the listener will be able to assign a certain value to the variable. The variable can, for example, be used in the answer given by the AI application. Note that Flow Variables are only accessible in the Flow in which they are declared.

Below please see how to add, edit or delete a variable in a Flow.

Add Flow Variable

To add a variable to a Flow, follow the below steps:

  • Click the Flow tab to go to the backstage of the Flow
  • Select Variables
  • Click Add in the top right corner of the window
  • Now, write the variable name and the evaluation script
  • Optionally, click Add description to write a description of the variable
  • Remember to Save the Flow to preserve the changes.

Edit Flow Variable

To edit a Flow variable, follow the below steps:

  • Click the Flow tab to go to the backstage of the Flow
  • Select Variables
  • Select the variable to edit and perform the edits in the text boxes
  • Remember to Save the Flow to preserve the changes.

Delete Flow Variable

To delete a Flow variable, follow the below steps:

  • Click the Flow tab to go to the backstage of the Flow
  • Select Variables
  • Select the variable to delete and click Delete in the top right side of the window
  • Remember to Save the Flow to preserve the changes.