Logout | Leapwork Docs

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

  1. Drag Logout onto the canvas.
  2. 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.
  3. Run the flow when it’s ready.

Building block parameters

Parameters

Resources

Topic Description
Flows FAQ Common questions about creating, running, and managing flows in Leapwork.
Flows Troubleshooting Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork.