Loading

Filtering on Date Values for Schedule-Triggered Flow

Udgivelsesdato: Oct 13, 2022
Beskrivelse
When using the Start element to filter records for a Schedule-Triggered Flow, you may have trouble using Date filters. The Date filter field only allows dates to be entered manually instead of allowing Date fields or variables.
Løsning
This is currently a limitation with Schedule-Triggered Flows but there are a few workarounds you can use to avoid this behavior. The first option would be to create a boolean formula field that evaluates to true if the current date meets the criteria you set. The example formula below would allow you to use a field to filter for records created on the date that the Flow runs. 
CreatedDate = TODAY()
Another option would be to avoid filtering records in the Flow's Start element and to use a Get Records element in order to filter normally using Date field references or variables. However, this limits the functionality of the Flow to processing a group of records together as opposed to running a Flow interview for each record in a batch as described in Schedule Triggers for Flows That Run for Batches of Records.
Vidensartikelnummer

000390424

 
Indlæser
Salesforce Help | Article