Loading
Feature Degradation | Agentforce Voice Read 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
          getAllTimers([groupId])

          getAllTimers([groupId])

          The function returns an array of objects with functions defined in the Returns section.

          Required Editions

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

          Parameters

          • groupId: internal name used to refer to the timer group.

          Returns

          • array of objects. Each object contains the following functions.

            Attributes Meaning
            getTimerId() returns the internal name used to refer 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