Skip to main content
Cadet | Tier 2
October 27, 2021
Question

Regarding the set session variable action is not available in excel advanced packages it will only available in excel basic. How do i shared a session in parent bot to child bot in excel advanced operations

  • October 27, 2021
  • 6 replies
  • 113 views
Regarding the set session variable action is not available in excel advanced packages it will only available in excel basic. How do i shared a session in parent bot to child bot in excel advanced operations

    6 replies

    Ashwin A.K
    Navigator | Tier 3
    October 27, 2021

    Hi @Prasanth A​ ,

     

    You can assign a Session Variable directly to Excel Advanced and pass that into child bots as well.

    First create a Session Variable for Excel Advanced like so:

     

    SessionVariableExcelAdvancedExcelAdvancedSessionVariableRunTaskBotSessionInputYou can then pass this into the Child bot.

    Make sure you create a Session Variable there as well, and tag that as Input.

     

    Kind Regards,

    Ashwin A.K

    Blogs at TheCodingTheory - https://www.thecodingtheory.com
    Cadet | Tier 2
    October 27, 2021

    Dear @Ashwin A.K​ ,

    I have faced this issue while running the child bot

    Ashwin A.K
    Navigator | Tier 3
    October 27, 2021

    Hi @Prasanth A​ ,

     

    Are you using a Task Bot: Run Action in the Parent Bot to trigger the child?

     

    RunTaskBotSessionInput 

     

    Also, make sure you have tagged the Session Variable as Input, and that the variable you have declared is of type Session.

     

    Kind Regards

    Ashwin A.K

    Blogs at TheCodingTheory - https://www.thecodingtheory.com
    Ashwin A.K
    Navigator | Tier 3
    October 27, 2021

    Hi @Prasanth A​ ,

     

    We don't have the Set Session Action for Excel Advanced, so this is the workaround you have to assume.

     

    Could you try and see if this works out for you?

    You have to create the same Session Variable in the childbot and tag that as Input.

     

    Kind Regards,

    Ashwin A.K

    Blogs at TheCodingTheory - https://www.thecodingtheory.com
    Cadet | Tier 2
    October 27, 2021

    We do not have add the set session variable at the end of the parent bot??

    Cadet | Tier 2
    June 24, 2022

    It is present in Run task actionset session variable