/
How to Mass Update Active Time Tracking Summaries

How to Mass Update Active Time Tracking Summaries

Issue: Is the stopwatch running slow, or do you have a large number of active time-tracking summaries?

 

Solution: Use the developer console to execute anonymous to mass update the active time tracking summaries in a subscriber's org from Active = True(checked) or Active = False (false).

This will remove Active Time Trackings from the Stopwatch feature.

Note: this will make all Time Tracking Summaries in your entire Salesforce org not active. User impact = all.

Step 1:
Click on the gear icon > Developer Console.

Step 2:
Click Debug > Open Execute Anonymous Window

Step 3:
Copy and paste the code found below and click Execute.

List<TTracking__Time_Tracking_Summary__c> tts = [Select Id From TTracking__Time_Tracking_Summary__c Where TTracking__Active__c <> false]; for (TTracking__Time_Tracking_Summary__c t : tts) { t.TTracking__Active__c = false; } update tts;

You should now see that there are no Active time tracking summaries in the Stopwatch.

Related content

Edit an Active Time Tracking in the Stopwatch
Edit an Active Time Tracking in the Stopwatch
More like this
Time Tracking Summaries don't appear in the Stopwatch
Time Tracking Summaries don't appear in the Stopwatch
More like this
How the Stopwatch Works
How the Stopwatch Works
More like this
Track Time on Tasks (Activities) in the Stopwatch
Track Time on Tasks (Activities) in the Stopwatch
More like this
Customize Fields on the Stopwatch Edit or Close Modal
Customize Fields on the Stopwatch Edit or Close Modal
More like this

Time Tracking is built by Fostering and powered by Salesforce.