Question

Problem with Web Automation Package and child bots.

  • 8 February 2022
  • 2 replies
  • 16 views

Hello everyone.

 

I'm trying to run some child bots from a main one using Web Automation Package actions. When I execute the first child it's ok, but the second one can't run a Web Automation action with the Default session. I've tried sharing a string variable for a session, I've tried Chrome and Edge and I don't know what else to do.

 

Of course, if I run all Web Automation actions in one bot they work fine.

 

Please help me with this problem.

 

Thank you so much.


2 replies

Userlevel 3
Badge +7

Hi @Alvaro Gata​ ,

 

Unfortunately we can't create a session variable specifically for the Web Automation so you could try creating a string variable and pass that in between bots.

 

If you have a parent bot and two childs going like this:

 

P->C1->C2

 

The String Variable in C1 and C2 has to be tagged both as input and output for the variable to use and share a given variable it inherits from each other.

 

The parent can remain as it is since it is responsible for delivering the variable, whereas the child bots have to inherit and share it among themselves, which is why we tag them both as input and output.

 

If this is what you were doing, then your other option would be to create a global variable and experiment with that.

 

If that doesn't work either, then you have to wait until the next update.

 

Kind Regards,

Ashwin A.K

Hi @Ashwin A.K​ .

 

Thanks a lot for your answer.

 

The solution that you describe is the first thing I thought. If I pass a string variable, all the bots can use the same session name and it should be work.

 

But it doesn't really work and I receive an error from child bot, it can't run a Web Automation action because there is no session opened.

 

I've uploaded an error message when child bot try to click a link.

 

I'm afraid I have to wait to until the next update.

 

 

Reply