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

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

          This function is used to create a short 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 short timer.

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

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

          • 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 short timer is created.

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

           
          Loading
          Salesforce Help | Article