You are here:
getElapsedTime(timerId)
The function returns the elapsed time in minutes if the timer with the corresponding timer ID exists.-1 otherwise.

Use more general search terms.
Select fewer filters to broaden your search.
You are here:
The function returns the elapsed time in minutes if the timer with the corresponding timer ID exists.-1 otherwise.
| Available in Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled. |
If the timer is already expired the duration is returned.
timerid: is the internal name used to refer to the
timer.
elapsed time in minutes:if the timer exists,
returns the elapsed time in minutes.
-1: if the timer doesn’t exist, returns -1.

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.