---
schema_version: "1"
id: d31a846b8a9517fadc37499d052c63a72c2d93f47779eb24e4dd721e7c9e3c6e
title: Wait Until a Single Event Occurs Example
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/flow_ref_elements_wait_examples_simple.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_wait_examples_simple.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 50d6e5cca7f5fffe13c02048c2c0ace68c3a34a0d207e00f4a50b20e70a67b98
description: 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.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# 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

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=platform.flow_ref_supported_editions.htm&amp;release=264.0.0&amp;type=5" title="Learn about the editions and user interfaces that support Flow Builder. Some Flow Builder features integrate with other Salesforce products that require additional licenses.">View supported editions.</a></td></tr></tbody></table>

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](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/platform_automation/images/flow/flow_wait_absolute.png)

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](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/platform_automation/images/flow/flow_wait_absolute_overlay.png)

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.

#### See Also

- [Wait for Conditions Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_wait_for_conditions.htm&release=264.0.0&type=5 "Resume a flow interview after specific conditions are met. Each wait configuration that you define in a flow has optional wait conditions. At run time, these conditions determine whether the flow waits for the associated resume event.")
- [Wait for Amount of Time Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_wait_for_amount_of_time.htm&release=264.0.0&type=5 "Resume a flow interview after a specific amount of time.")
- [Wait Until Date Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_wait_until_date.htm&release=264.0.0&type=5 "Resume a flow at a specific date and time.")
- [Specific Time Resume Event](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_pause_events_time.htm&release=264.0.0&type=5 "Resume the paused flow when a specific time occurs.")