You are here:
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.
Did this article solve your issue?
Let us know so we can improve!

