Why do we use logout task?
4 Likes
Configuring Logout Functionality in the Application
The Logout task is used to ensure that when users click the Logout option, they are automatically logged out of the application and redirected to the login page.
To configure the Logout functionality in your application, follow the steps below:
1. Create the Application Header
- Design and create the Application Header component.
- Configure the header to be displayed only on private pages , as the Logout option should be visible exclusively to authenticated users.
2. Add a Logout Element
- Add a Logout hyperlink within the Application Header.
- In the Basic section, set the Label to “Logout” .
- In the Properties section:
- Set the Page Type to Private .
- Set the Position to User Section so that the Logout option appears within the user section of the header.
3. Create the Logout Task Group
- Navigate to the Inventory section and open the Task Group module.
- Click Create to add a new Task Group.
- Within this Task Group, add a new task and select the Logout task type.
- Save both the task and the Task Group.
4. Map the Logout Task Group
- Map the newly created Logout Task Group to the OnClick event of the Logout hyperlink.
7 Likes
@Gitika_Verma
Does logout task work only for application header and for hyperlink element only?