Loading
Feature Disruption - Service Cloud VoiceRead More
Feature degradation | Gmail Email delivery failureRead More
Visual Studio Code Based Modeler for Consumer Goods Cloud
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          getTimer(timerId)

          getTimer(timerId)

          The function returns an object containing getter functions defined in the table under Returns section, if the timer with the corresponding timer ID exists.

          Required Editions

          Available in Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled.

          Parameters

          • timerid: is the internal name used to refer to the timer.

          Returns

          • object containing the following functions

            Attributes Meaning
            getTimerId() returns the internal name used to reference the timer
            getStartTime() returns a date object that contains the time when the timer has been started
            getIsRunning() returns false if timer has been stopped, true otherwise
            getEndTime() returns a date object that contains the time when the timer expires
            getElapsedTime() returns returns current time - start time [minutes /integer] *
            getDuration() returns the duration of the timer in minutes
           
          Loading
          Salesforce Help | Article