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

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

          This function is used to create a timer in the logic action based on the specified parameters.

          Required Editions

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

          Parameters

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

          • autoDestroy: this parameter determines if the timer is automatically destroyed when it expires.

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

          • message: is a JSON object with two properties 'header' and 'content'.

          • appContextValues: is a JSON Object with PropertyName. If the timer has expired, property name is the value pairs that are set in the application context.

          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