Sharing sessions across bots
- Updated: 2024/03/01
Sharing sessions across bots
You can share a session across multiple bots so that you can use the same DLL, Microsoft Excel worksheet, and terminal across these bots. You can share a session across child bots, parent bots, and other child bots of the parent bots.
Use the Global session option in the Open action of the DLL package to pass on the exact state of an application or DLL from one bot to another bot and vice versa.
Sharing a session eliminates the need to repeatedly open and close a session when using the same file across multiple bots. When you share a session across bots, all subsequent actions in that bot, child bots, parent bots, and other child bots of the parent bots can use that DLL session without any additional steps by using the same global session name in these bots.
For example, consider you have added the Open action with the Global session selected at the eighth line of a bot. All the actions that are executed after the eighth line in the current bot, child bots, and parent bots can use that DLL session without any additional step.