Skip to main content

Hi,

 

I have a parent bot named “SAP Login” that connects to the SAP application. In the child bots, I want to use the same SAP session. I tried storing the session in a string type variable and using it in the child bot, but I’m getting the error: Session not found. Use an active session and try again. How can I pass the SAP session from the parent bot to the child bots?

@Sakshi in child bot you can create a string variable and assign default value to variable and pass the same variable to SAP connect command it will help connect to SAP. No need to pass the session from parent to child bot.


Hi ​@Sakshi ,


Create the session in Master Bot and in the Child Bot, select Connection type as Automatic.

 

 

Hope this will help


@Sakshi if any of these solutions helped, please feel free to mark them as best answer!


@Shreya.Kumar both answers are correct.

Thanks ​@Rehan.S1 and ​@Padmakumar