Skip to main content
Question

Issues building my first bot.


Hello, I am doing my first bot following the videos in the learning path but I had an issue that I cannot figure out yet, when the open excel part comes I follow exactly what the video said but when I try to run the bot it shows an error saying that it cannot find "default" for the session name. I am not sure what I suppose to change somebody has an idea? Capture

10 replies

  • Author
  • Cadet | Tier 2
  • 7 replies
  • December 23, 2021

I changed it to Default, the name of the file, and name it again Default but line 8 did not work.

 

In the beginning, I had issues on that line too but I figured out that the create excel session was empty, and in the video, they do not say anything about that particular area so trying different things writing the name of the file worked, also trying to make line 8 work I typed "default" too and it works but the line 8 keeps showing the error and I cannot move forward on the creation of the bot

 

Capture1


Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+16
  • Most Valuable Pathfinder
  • 3276 replies
  • December 23, 2021

Could you please check line 7 and above lines which are used Excel Session "Default" or other names?


  • Author
  • Cadet | Tier 2
  • 7 replies
  • December 24, 2021

Hello yes all of them has the same name but it did not come through


Forum|alt.badge.img+19
  • Most Valuable Pathfinder
  • 2694 replies
  • December 24, 2021

Hi @Edgar Iroba​ ,

 

Can you change the Session value to something else than Default and try? Ex: ExcelSession


  • Author
  • Cadet | Tier 2
  • 7 replies
  • December 24, 2021

I did it and did not work either. I used the file name and nothing happened. In line 7 worked but line 8 show me the same error “session not found”


Forum|alt.badge.img+19
  • Most Valuable Pathfinder
  • 2694 replies
  • December 24, 2021

Can you share the Code Screenshot of both the lines? Where we can see the Session value


Forum|alt.badge.img+19
  • Most Valuable Pathfinder
  • 2694 replies
  • December 24, 2021

Hi @Edgar Iroba​ ,

 

Hope Step 7 & 8 you have given Excel Session as "Default" right? For all the excel session the value should be same.


  • Author
  • Cadet | Tier 2
  • 7 replies
  • December 24, 2021

Capture2


Ashwin A.K
Forum|alt.badge.img+8
  • Navigator | Tier 3
  • 2445 replies
  • December 24, 2021

Hi @Edgar Iroba​ ,

 

Could you try declaring a Session Variable pass it into to Variable section under Session and tag that to each Excel Action?

Session 

You can also declare a String Variable, but that has to get passed into the Local Variable section.

 

image 

Kind Regards,

Ashwin A.K


  • Author
  • Cadet | Tier 2
  • 7 replies
  • December 25, 2021

Thanks @Ashwin A.K​ this worked.!! thank you my friend now I can continue the process and built my first bot


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings