
Use more general search terms.
Select fewer filters to broaden your search.
You are here:
This function updates the timer duration.
| Available in Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled. |
The timer isn’t restarted from the current time. The new end time is calculated as: start date + new duration. If updateDuration() is called with a non-existent timer ID, timer isn’t created and false value is returned. If the timer was stopped and restarted, then duration= (restart date + new duration) - elapsed time before stop.
timerId: is the internal name used to refer to the
timer.duration: is the duration of timer in minutes.true: returns true value if the update duration is
successful.false: returns false if the function is called with a
non-existent timer.
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.