Loading

Filtering on Date Values for Schedule-Triggered Flow

Fecha de publicación: Jun 16, 2026
Descripción

When using the Start element to filter records for a Schedule-Triggered Flow in Salesforce, you may encounter a limitation with Date filters. The Date filter field in the Start element only allows dates to be entered manually as static values, rather than allowing dynamic Date fields or variables.

This means you cannot directly reference a formula field or a Date variable to set a relative date filter in the Start element.

Solución

There are two workarounds available to filter on date values in a Schedule-Triggered Flow.

 

Workaround 1: Boolean Formula Field

Create a formula field on the object that evaluates to True when the record's date meets your filter criteria. This formula field can then be used in the Start element filter.

For example, to filter for records created on the same day that the Flow runs, create a formula field that compares CreatedDate to TODAY(). The formula logic checks whether the CreatedDate equals the current date. Once this formula field exists on the object, you can use it as a Boolean filter condition in the Flow's Start element (filter for records where the formula field equals True).

 

Workaround 2: Use a Get Records Element Instead of Start Element Filtering

Rather than filtering records in the Flow's Start element, skip the Start element filter entirely and use a Get Records element inside the Flow to retrieve records using standard field references or variables.
Important: This approach changes the Flow's processing behavior.

Using a Get Records element means the Flow processes all retrieved records as a group (bulk context) rather than running a separate Flow interview for each individual record. For more details, refer to the Salesforce Help article on Schedule Triggers for Flows That Run for Batches of Records.

Número del artículo de conocimiento

000390424

 
Cargando
Salesforce Help | Article