Get Session
Retrieves the current Windows Automation session object.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Output
- Session - The current Windows Automation session object.
How It Works
The Get Session node retrieves the current Windows Automation session object. When executed, the node:
- Gets the current session from the Windows Automation context
- Verifies that an interactive desktop session exists
- Returns the session object as an output
Requirements
- An active Windows Automation session must exist
- An interactive desktop session is required
Error Handling
The node will return specific errors in the following cases:
- No active Windows Automation session exists
- No interactive desktop session is available
Usage Notes
- This node is typically used to pass session information between different parts of a workflow
- The session object contains information about the current automation context
- This node is often used in conjunction with other Windows Automation nodes that require session information