Automatic Logout

You can set an automatic logout time for a user that has been inactive for a set amount of time in Runtime. This can be used to logout a user if the Workstation is either not in use or potentially unattended.

To setup automatic logout, you must define the amount of time to pass before a Workstation is deemed inactive. You can then create a Workflow to log them out once the inactive trigger is fired.

Set Runtime Inactivity Time

To setup automatic logout, you will need to set the amount of time that will pass before being considered inactive.

  1. Go to Home > Project Settings.
  2. In the General settings, go to Runtime Inactivity > Inactivity Time (hh:mm:ss). Set the amount of time to pass before the user is considered inactive.

Setup the Automatic Logout Workflow

  1. Go to Workflows and right-click either Interactive or Background Workflows. Click Add. Enter the information for the Workflow and click OK.
  2. Double-click the Start block. Click Add to set the Trigger.
  3. In the Objects pane, click Environment. In the Events pane, click Idle Detected.
  4. Click OK to select the Trigger. Click OK again.
  5. Drag and drop an Action block into the work area.
  6. Connect the Action block to the Start and Stop blocks.
  7. Double-click the Action block.
  8. In the Objects pane, click User Security. In the Commands pane, click Logout(). Click OK.
You can modify this Workflow as desired to execute further actions when automatically logging a user out.