What are contexts?

Contexts allow you to break down conversations into smaller parts and visualize the flow more easily. They also make individual parts of the dialogue available from different conversation levels.



How to create a new context

  1. Click on the plus icon on your context lists
  2. Name your context

👍

Naming best practices

  • no spaces
  • replace spaces with underscores
  • use lowercase
987


How to import contexts

  1. Export the flow on the project you want to copy the context from
992


  1. Go back to your current flow and click on the top blue arrow from the context list
248


  1. Import your unzipped previously exported file from another bot project


  1. Select contexts you want to add
1079


Click right for context settings

Set as initial context:
Set as error handling context: (what is an error handling context?)

353


Error handling context

There is the possibility to set one context as error handling context. When an error occurs during bot conversation (e.g. bot tries to get data from a knowledge base item that doesn't exist) the bot will move to the Error handling context and follow Flow from this context.

1. Set context as an error handling context:

800

2. Prepare Flow for Error handling context:

3358

3. When an error occurs during bot conversation the bot will start a conversation defined within the Error handling context

800

📘

Error Types

You can check error type using expression language: system.isError(errorType). Find out more about error types.

 

Hide context lists

961