Skip to main content
Version: v10.15

Logout Action

Logout Action is automatically created when you implement Security in your application. You can edit the Properties and Events of the Logout Action from the Actions dialog.

Action Creation

Logout Action can be used to perform user logout.

  1. To create a Logout Action:

    • Select the Action option from Variables on the Workspace Toolbar

    • and click New Action from the Actions dialog.
  2. New Action wizard will open.

    • Choose Logout Type
    • Name - set by default which can be modified
    • Owner - the scope of the Action being created. By default it is set to Page, you can change it to Application if you want this action to be available across the app.
    • Click Done to create the Action
  3. You will be directed to the Actions dialog, with the new action listed. As you can see:

    • a Logout Action is created,
    • the properties tab contains all the properties like behavior and spinner behavior. Know more about properties.
    • the events tab will contain the events that can be configured to trigger any action. Know more about events.


Use default success handlerIf checked, on successful logout, the user is redirected to the Home/Login page as configured. If custom logic is required, uncheck this property and implement the logic under the onSuccess event of the Action NOTE: If the property is checked, the configured events will not be triggered.
In Flight BehaviorThis property determines the behavior when a call is fired through the variable with the previous call still pending. Action queues all these calls, waits for the previous call completion and then based on the value of the inFlightBehavior property, decides what to do with all the queued calls: - doNotExecute - all the queued calls will be discarded, - executeAll - all the calls will be triggered one by one, or - executeLast - only the last call is triggered and the rest are discarded, this is the default behavior
Redirect ToPage to be displayed after logout, can be the main page or the login page
Spinner ContextThis property specifies on which UI widget the spinner should show. Leave empty if no spinner required.
Spinner MessageThe message to be displayed below the spinner. Leave empty if no message is required below the spinner.

If multiple actions are fired then the spinner messages will be displayed as a list below a single spinner.


During the life cycle of a Variable, a set of events are emitted by the Variable, thus giving you the option to control the behavior of the Variable such as input data validations, data processing, success/error handling, etc. Know More.