Multi Timer

The Multi Timer provides timekeepers with the ability to manage multiple time tracking objectives, in context with their AdvoLogix workflow. The Multi Timer can be deployed in a variety of ways within both the desktop and mobile user experiences.

1. Introduction

Timers are considered a prelude to formally memorializing a Time entry. The Multi Timer allows individual Timekeepers to concurrently track multiple work processes. Each timer is persistently stored in the organization's cloud data and follows the user from location to location and device to device without losing time tracking continuity.  For instance, a timer can be started at the office while working from a computer browser, the same user can then leave the office, open the AdvoLogix mobile app and continue to work with the timers without losing continuity.

2. Multi Timer Functional Capabilities

  1. A timer can be in one of two states, paused or running. The first button on the timer will reverse the timer's current state (from running to paused or from paused to running). Timer A represents a running timer, Timer B represents a paused timer.

  2. The elapsed time is presented in hh:mm:ss format. The elapsed time is continuously updated when the timer is running.

  3. Adding a description to the timer is optional but extremely helpful when managing multiple timers. A paused timer can quickly be identified by the italicized description font.

  4. This button allows the timer description to be edited. The description can also be edited by double-clicking the description area.

  5. The Matter icon button is used to optionally assign the timer to a specific Matter.  When applicable, this allows the Timekeeper the flexibility to  establish a Matter relationship at  a time convenient with their workflow. Timer A represents a timer that has not been assigned to a Matter. Timer B represents a timer that has been assigned to a Matter. Hovering over the icon of an assigned Matter will quickly show the Matter assignment details.

  6. The last button exposes a context menu with additional actions available for working with the timer and are described in detail in the following section. 

2.1. Timer Context Menu Options

  • Create Time 
    This option will create a new AdvoLogix Time entry. The timer's elapsed time, description and matter  will be sent as default values to the new Time entry where further editing can take place. The timer is automatically removed upon completion of the new Time entry.

  • Edit Elapsed
    This option allows the end user to manually override the elapsed time to a value of their choice. This option is not enabled unless the timer is paused.

  • Properties
    This option reveals additional details about the timer.
     
  • Reset
    Will set the elapsed time to zero (0:00:00).

  • Delete
    Will remove the timer from the system

2.2. Additional Functionality

  • New timers can be created using the New link in the upper right corner of the Multi Timer.
  • The total elapsed time for all timers is continuously updated and displayed at the top of the Multi Timer.

2.3. Lightning App Builder Component Options

Two options are available when adding the Multi Timer to a Lightning Page layout:

  • Allow Matter Assignment

    This option allows the end user the ability to assign the relative Matter to the Timer. This option is normally enabled with the exception of when the Multi Timer is added to a record page layout. When the Multi Timer is used on a record page the Matter is automatically assigned based on the underlying record.

  • Allow Collapsible Display

    This option allows the Multi Timer to be expanded or contracted from full display to a single line using an accordion style user experience. (new in Fall 2017)

  • Display Matter Name

    This option displays the full matter name in the list, when space permits. This option is best suited when docking the Multi Timer in wide sections/areas only. (new in Spring 2018)

3. Implementation Use Cases

The Multi Timer functionality is independent from the Classic Sidebar Quick Timer and the Salesforce Mobile Application Timer.  If your organization is using the Classic user interface, we suggest using one or the other (Sidebar or Multi) but not both within the same user experience. 

The Multi Timer can be deployed in a variety of ways within both the desktop and mobile user experiences. Please select an option below for more details for each user experience.

3.1. Lightning Experience

The Multi Timer is a Lightning Component which allows it to be implemented in a variety of ways within the Lightning Experience. 

  1. Lightning Home Page
    When editing a Lightning Home Page the Multi Timer is available in the Lightning App Builder's component palette.

  2. In the Lightning Application Utility Bar
    When modifying a Lightning Application, the Multi Timer component is available in the selection list for a Utility Bar Item.

  3. Matter's Lightning Record Page
    When editing a Lightning Matter Record Page the Multi Timer is available in the Lightning App Builder's component palette. The Multi Timer is self aware of being docked on the Matter's Record Page and will automatically invoke functionality specific to the underlying Matter:

    • The Matter assignment icon is removed from the timer interface. The Matter is automatically assigned to the timer when a new timer is added.

    • The Multi Timer will only display timers related to the underlying Matter in context.

      NOTE: In addition to the Matter Record Page, the Multi Timer can also be added to other record types including the Task and Event record pages.  (new in Fall 2017)
3.2. Salesforce Mobile Application
  1. Salesforce Mobile App Navigation Menu
    A Multi Timer option is available when editing the organization's Salesforce mobile app navigation menu.
3.3. Classic (Aloha)

Although the Multi Timer is a Lightning Component, AdvoLogix has also designed an implementation to support the Multi Timer within the Classic user interface in the following ways:

  1. Home Page Layout
    A Multi Timer home page layout component is available in the Classic Home Page layout editor.

  2. Visualforce Page
    A Visualforce page has been provided to allow organizations to optionally create a Visualforce Tab for placement on the Classic main menu or from the "All Tabs" selection area.
3.4. API Options

The Multi Timer has an API option to pragmatically create a new timer. This allows organizations and implementation teams to create adaptable timer experiences for unique use cases. The format for the API call is as follows:

Syntax
MultiTimerService.Execute( [@action, @description, @userId, @matterId ] ); 


Parameters

  • @action
    The action parameter specifies whether the timer will be running or paused when created. This parameter is optional and will default to running when not specified.

Values for this parameter are:  

  •  0   to create the timer in running mode
  •  1   to create the timer in paused mode

  • @description
    The description parameter specifies a default description value for the new timer. This parameter is optional.

  • @userId
    The userId parameter specifies the system user for whom the Timer will be assigned. This parameter is optional and will default to the current logged in user when not specified.

  • @matterId
    The matterId parameter allows the timer to be related to a specific Matter. This parameter is optional.

  • @contextRecordId
    The contextRecordId parameter allows the timer to be related to any record. This parameter is optional.


Result

The function call will return a JSON formatted string in this format: {success:"",result:""}

  •  success
    Will be TRUE or FALSE

  •  result
    Will be a confirmation message for a TRUE success result or an error message if the timer creation responds with a FALSE success status.


Example

MultiTimerService.Execute( 0, 'Phone Conference', '0059000000GTrsgAA4', 'a0b9000000RJhKTEA1', '00T000012000agAEE2');


Please note that it is always suggested to test your code in the Sandbox.