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.

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
  • Remember to Save the Flow to preserve the changes

To add a Flow variable in Teneo Studio Web, simply follow the below steps:

  • In the Flow editor, click the Variable button below the Flow overview

Variable button

  • Click the Plus icon to add a new variable
  • Now, give the variable a name and write the evaluation script
  • Click Confirm
  • 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

To edit a Flow variable, follow the below steps:

  • Below the Flow overview, click the Variable button
  • Next to the name of the existing variable, click the pencil icon
  • Now, modify the wanted specifications
  • Click Confirm
  • 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

To delete a Flow variable, follow the below steps:

  • Below the Flow overview, click the Variable button
  • Next to the name of an existing variable, click the x icon
  • Remember to Save the Flow to preserve the changes