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
          createCallbackTimer(timerId, autoDestroy, [duration[, message[, appContextValues]]])

          createCallbackTimer(timerId, autoDestroy, [duration[, message[, appContextValues]]])

          A timer with callback can be created in a logic action by calling TimerManager.createCallbackTimer() with the following parameters:

          Required Editions

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

          Parameters

          • timerId: The internal name used to refer to the timer.

          • autoDestroy: Determines if the timer is automatically destroyed when it expires.

          • duration: The duration that is set for the timer. It should be specified in minutes.

          • objectClassName: When the timer expires, a new instance of the corresponding class is created with no parameters.

          • objectMethodName: This method is called on the newly created instance of type objectClassName with one parameter; timerId.

          Returns

          • true: if a new timer is created.

          • false: if the function is called with existing timer ID. The existing timer isn’t changed.

           
          Loading
          Salesforce Help | Article