Skip to main content
Cadet | Tier 2
March 23, 2022
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
  • 113 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

    Automation Anywhere Team
    March 23, 2022

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

    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.

    Chand
    Most Valuable Pathfinder
    March 23, 2022

    Hi @Karan Bakshi​ ,

     

    Checkout below tutorial to understand the analogy

     

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

     

    Chand
    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 ?

    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.

    Chand