Question

Hi. I am new to this platform. Can somebody explain why would we want to use a variable as an "input" type or an "output" type in a bot. An analogy would be appreciated.

  • 23 March 2022
  • 5 replies
  • 11 views

Hi. I am new to this platform. Can somebody explain why would we want to use a variable as an "input" type or an "output" type in a bot. An analogy would be appreciated.

5 replies

Userlevel 4
Badge +8

@Karan Bakshi​ - You would use input and output type variables for passing parameters from one bot to another. For example - if you want to pass variables from Bot A to Bot B, you will need to create variables with input type.

 

For more information -

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/aae-client/bot-creator/commands/example-cloud-dictionary.html/p>

Userlevel 5
Badge +9

HI @Karan Bakshi​ ,

 

Adding to the above, if you want to pass the output from Bot A to Bot B you will mark the respective variables as Output while creating them or by editing it.

Userlevel 5
Badge +9

Hi @Karan Bakshi​ ,

 

Checkout below tutorial to understand the analogy

 

https://www.youtube.com/watch?v=c5iCpFwFSlU/p>

 

So if B is the child bot, and it has to receive the output from the parent bot A, only the variable in bot B will be marked as output right? The variable in A which is holding the output value, should that be marked output as well ?

Userlevel 5
Badge +9

Hi @Karan Bakshi​ ,

 

IN Bot B you should select the variable as Input because the value of child bot is expecting from Bot A.

Reply