Loading
Salesforce now sends email only from verified domains. Read More
Automate Your Business Processes
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
          Wait Until a Single Event Occurs Example

          Wait Until a Single Event Occurs Example

          Create a flow that sends an email after waiting for a specific event to occur, such as waiting one day after a contract is activated before sending a feedback request.

          Required Editions

          View supported editions.

          You're designing a flow that requests feedback from customers after a contract is activated, but you want to delay the email by a day.

          Example

          This flow already contains the following populated variables. The flow activates a contract (1) and then pauses (2).

          • {!customerEmail} contains the email address for the customer
          • {!creatorEmail} contains the email address for the flow's creator
          Screenshot of a sample flow that is waiting for an absolute alarm event

          Within the Wait element, a single resume event is defined (1 day after activated). The flow sends the feedback request one day after the contract is activated, so configure a flow-based resume time. The base time is the {!$Flow.CurrentDateTime} global variable (3), and the offset is one day (4).

          Screenshot of absolute alarm configuration

          Because there's only one wait configuration and you only want the feedback request to be sent one time, don't set any wait conditions for this wait configuration. However, just in case something goes wrong, don't forget to set a fault path. In this example, the fault path sends an email that contains the fault message to the user who created the flow.

           
          Loading
          Salesforce Help | Article