The Logout block is used to perform a system logout for the Leapwork user on the Agent machine. Place it near the end of a flow when you want to end the current desktop session as part of your automation.
Fully expanded, the Logout block shows the following properties:
Note: The screenshot on this page uses the Elegance Design, introduced in 2025.3. If you are using an earlier version, your layout may look different.
Quick-start
-
Drag Logout onto the canvas.
-
Configure the basic parameters for the logout step in your flow: optionally enable Force logout and adjust Timeout (sec), then connect the block where the session should end.
-
Run the flow when it’s ready.
Building block parameters
Resources
|
Topic |
Description |
|---|---|
|
Common questions about creating, running, and managing flows in Leapwork. |
|
|
Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork. |