Skip to main content
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.

  • March 23, 2022
  • 5 replies
  • 51 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

Forum|alt.badge.img+12

@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>


Forum|alt.badge.img+22
  • Most Valuable Pathfinder
  • March 23, 2022

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.


Forum|alt.badge.img+22
  • Most Valuable Pathfinder
  • March 23, 2022

Hi @Karan Bakshi​ ,

 

Checkout below tutorial to understand the analogy

 

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

 


  • Author
  • Cadet | Tier 2
  • March 24, 2022

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 ?


Forum|alt.badge.img+22
  • Most Valuable Pathfinder
  • March 24, 2022

Hi @Karan Bakshi​ ,

 

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