Variable Passing Between Bots

This is a question concerning an ongoing discussion.

Baptiste, you will be happy that I am simplifying my (CRAZY) large bots. So I am breaking them up into smaller organized ones.

So the issue that I am having-

Bot 1 (Variable is created and assigned value) > Bot 2 (Variable is created) = Works fine

Bot 1 (Variable is created and assigned value) > Bot 2 (Variable is not used, not created, doesn’t exist) > Bot 3 (Variable is created) = Doesn’t work the Variable does not have the assigned value from Bot 1.

The issue is I have a crazy amount of customized variables and to sit and create ALL of the variables in ALL of the simple bots takes a LOT of time just to simplify out to the different bots (versus doing them all in one). Is this how it is supposed to work, or should these variables be saved to the session and passed between bots and when I need them I can create the variable in that bot and use the value?

My understanding before is they should persist and be available to me without me having to create a TON of variables in every bot even if that bot doesn’t use that variable. Please let me know thanks!
Was this page helpful?