Loading
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
          Launch()

          Launch()

          Time Manager leverages Framework Timer APIs to manage multiple timers. All the timers that are created or changed are stored in the database on the device.

          Required Editions

          Available in Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled.

          Time Manager functions only when it’s launched. Launch () is called to launch the Time Manager when the user successfully logs in. The function restores persisted Timers from the database and restarts them.

          Returns

          • true: if the Time Manager is launched correctly and wasn’t launched earlier.
          • false: if the Time Manager isn’t launched as it was launched earlier.

          The following API functions are used to create timers:

          • createTimer(timerId, autoDestroy, [duration[, message[, appContextValues]]])
          • createCallbackTimer(timerId, autoDestroy, duration, objectClassName, objectMethodName)

          The following functions are used to manage persistent timers:

          • setGroupId(timerId, groupId
          • updateDuration(timerId,duration)
          • updateMessage(timerId,message)
          • updateAppContextValues(timerId,message)
          • stopTimer(timerId)
          • startTimer(timerId)
          • restartTimer(timerId
          • destroyTimer(timerId
          • clear([groupId])
           
          Loading
          Salesforce Help | Article