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
          setQuickSearchDelay()

          setQuickSearchDelay()

          Sets the delay time in milliseconds for successive quick search operations.

          Required Editions

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

          This enhances the usability of the CG Cloud offline mobile app by providing an option for clients to optimize the delay time based on their need.

          Parameters

          • milliseconds (Integer): Number of milliseconds to delay. This must be an integer value from 10 through 5000.

          Returns

          The Quick Search Delay sets the delay time on the following conditions:

          • Sets Quick Search Delay time same as input, if the input parameter is an integer value from 10 through 5000.
          • Sets Quick Search Delay time as 900, if the input parameter isn’t an integer value from 10 through 5000. A warning message is logged at runtime for all the invalid parameters.

          Sample Code

          
          <Action name="SetDelay600" actionType="LOGIC" call="Facade.setQuickSearchDelay">
             <Parameters>
                <Input name="milliSeconds" value="600" />
             </Parameters>
             <TransitionTo action="GetListagain" />
          </Action>
          
           
          Loading
          Salesforce Help | Article