Skip to main content
Solved

How to share SAP session between bots

  • May 14, 2025
  • 4 replies
  • 70 views

Forum|alt.badge.img+3

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?

Best answer by Padmakumar

Hi ​@Sakshi ,


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

 

 

Hope this will help

This topic has been closed for replies.

4 replies

Rehan.S1
Navigator | Tier 3
Forum|alt.badge.img+4
  • Navigator | Tier 3
  • May 14, 2025

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


Padmakumar
Premier Pathfinder | Tier 7
Forum|alt.badge.img+15
  • Premier Pathfinder | Tier 7
  • Answer
  • May 14, 2025

Hi ​@Sakshi ,


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

 

 

Hope this will help


Shreya.Kumar
Pathfinder Community Team
Forum|alt.badge.img+14
  • Pathfinder Community Team
  • May 14, 2025

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


Forum|alt.badge.img+3
  • Author
  • Cadet | Tier 2
  • May 14, 2025

@Shreya.Kumar both answers are correct.

Thanks ​@Rehan.S1 and ​@Padmakumar