Adding the auto-tracking component for the Console app,
The timer can be added to any of the console app, as an example I have taken Case Console in this article.
- Go to the Case Console app,
- Click on a case and click the setup button and the Edit page option
- Search for Tabs in the components search box, drag and drop the tab to the sidebar on the right-hand side of the screen as in the screenshot (marked in red)
- Click the Details tab, select Custom, and name the component "Auto Tracking"
- From the components list, drag and drop the "Auto Tracking (console app) to the tab that you added,
- Click on the tab that you added (the blue box that shows the timer in the screenshot below), and then you see the check box "Enable Start and Stop", enable it, and click the Save button.
- Now the Auto tracking component is enabled for Case Console in your org.
Activate the auto-tracking component
- Click the Activation button which is next to the Save button, you see a pop-up screen as below, click the Activate button
- Go to App Record Type and Profile, and click on "Assign to Apps, Record Types and Profiles"
- Click on Add Assignment and select Case Console and click the Next button
- Click the Next button on the "Select on Factor" screen, select Master and click the Next button
- Select the specific profiles from the list to show the Track Time lightning component and click the next button
- You see the list of profiles which you have selected, cross-check if the right profiles are selected in this screen and click the Save button
- The auto tracking component is added to the selected profiles. Once the user clicks on a case in Case Console screen, the time is tracked automatically.
Note: If you want to track time for multiple cases at a time, you can enable the saperate option in the TimeTracker configuration screen. This allows the user to track time to multiple cases at a time.
Click here to know more to enable the time tracking option for multiple cases at a time