You are here:
getAllTimers([groupId])
The function returns an array of objects with functions defined in the Returns section.

Use more general search terms.
Select fewer filters to broaden your search.
You are here:
The function returns an array of objects with functions defined in the Returns section.
| Available in Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled. |
groupId: internal name used to refer to the timer
group.
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 |

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.