Loading
Salesforce now sends email only from verified domains. 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
          getTimerSnapshotLO([groupId])

          getTimerSnapshotLO([groupId])

          The function returns an LO.

          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

          • returns a LO. Each LI has the following properties.

            Attributes Meaning
            timerId the internal name used to refer the timer.
            duration the duration of the timer in minutes.
            startTime a date object that contains the time when the timer has been started.
            endTime a date object that contains the time when the timer expires
            sRunning false if timer has been stopped, true otherwise
            elapsedTime current time - start time [minutes /integer] *

            The LO isn’t bound to the Timer Manager. The data contained in the LO is a snapshot of the Timer Manager's data. The LO can be refreshed by calling getSnapshot([groupId]) on it.

           
          Loading
          Salesforce Help | Article