Skip to main content
Navigator | Tier 3
April 17, 2024
Solved

Browser Automation ERROR Field 'sessionName' must not be null.

  • April 17, 2024
  • 14 replies
  • 441 views

Hello Everyone, 

I am using the package Browser Automation , 

I create a child bot using the variable type session for output; But when I call the child bot  in parent bot and trying to use the session output in other browser action . I have the following message Field 'sessionName' must not be null.

 

The child bot run succesfully but I think the session output is not well return even the session Id is not null 

 

 

Best answer by Bot Dev

I am able to use within parent bot too, global session should be global:
Check package version and bot compatibility version in your parent task.

Check if any local session with same name exists.

Try to create a fresh parent task and test, seems to work for me.
 

 

14 replies

LnMamouAuthor
Navigator | Tier 3
April 17, 2024
child bot
Call the child bot
action that use the child bot session

 

LnMamouAuthor
Navigator | Tier 3
April 17, 2024

If I use a second child bot ; it works. So the problem is we cannot use the session directly in the parent bot . 

The green is the second child bot , it works 

The red is when i use directly action browser automation

 

Bot DevAnswer
Navigator | Tier 3
April 17, 2024

I am able to use within parent bot too, global session should be global:
Check package version and bot compatibility version in your parent task.

Check if any local session with same name exists.

Try to create a fresh parent task and test, seems to work for me.
 

 

https://github.com/A360-Tools | https://botstore.automationanywhere.com/vendor/botdev
LnMamouAuthor
Navigator | Tier 3
April 18, 2024

I create a new bot and it works now. Thank you for the support really appreciated