Loading
Mail Delivery Issue Impacting Email to Salesforce UsersRead More
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
          getShortElapsedTime(timerId)

          getShortElapsedTime(timerId)

          The function returns the elapsed time in seconds if a short timer with the corresponding timer ID exists.-1 otherwise.

          Required Editions

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

          If the short timer is already expired the duration is returned.

          Parameters

          • timerid: is the internal name used to refer to the short timer.

          Returns

          • elapsed time in seconds: if the short timer exists, returns the elapsed time in minutes.

          • -1: if the short timer doesn’t exist, returns -1.

           
          Loading
          Salesforce Help | Article