Skip to main content
Question

Session name already used.

  • February 28, 2022
  • 6 replies
  • 128 views

I have two task bots(A & B) running and scheduled at 9 AM and 3 PM. Both bots are using SAP. Bot A runs successfully but when Bot B runs. It give an error: "Session name already used. Enter a different session name and try again."

 

Can anyone please help me what I am missing?

6 replies

Forum|alt.badge.img+22
  • Most Valuable Pathfinder
  • 2692 replies
  • February 28, 2022

Hi @Ranish Ali​ ,

 

Can you check the Session Names in Bot B, there would be some mismatch. Run the bot in attended mode and check whether you are getting the same error or not and then go for unattended mode as per the schedule.


Ashwin A.K
Forum|alt.badge.img+10
  • Navigator | Tier 3
  • 2445 replies
  • February 28, 2022

Hi @Ranish Ali​ ,

 

Ideally its best to assign Session Variables instead of passing in Local Strings.

Could you try assigning two different Session Variables to each bot and see if that works out for you?

 

Kind Regards,

Ashwin A.K


Forum|alt.badge.img+22
  • Most Valuable Pathfinder
  • 2692 replies
  • February 28, 2022

Can you run the bot by enabling Debug option and check in which step you are getting this error .. Hope it should be SAP command and with some other session value.

 

As a best practice use Bot Specific Session Variables instead of Default.


  • Author
  • Cadet | Tier 2
  • 7 replies
  • February 28, 2022
Hello ChanduMohammad, Thanks for your reply. The session is set to default in Bot B.

  • Author
  • Cadet | Tier 2
  • 7 replies
  • March 24, 2022
Hello Ashwin A.K, I’m trying to create session variable(to be used by SAP connect action), but having difficulty in figuring out what to select in Session Type Variable. Could you please assist on this? Regards, Ranish Ali

Forum|alt.badge.img+1
  • Cadet | Tier 2
  • 3 replies
  • September 4, 2024

Hello Ashwin A.K,



I’m trying to create session variable(to be used by SAP connect action), but having difficulty in figuring out what to select in Session Type Variable. Could you please assist on this?







Regards,

Ranish Ali

Did you get the solution?