function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vincent Bartoloma 15Vincent Bartoloma 15 

How to run a scheduled Flow on specific records based on a variable value ?

I am setting up a scheduled Flow which I would like to have run on all records created TODAY. I set up a variable for the @CreatedDate (varCreated) and assigned the logic in the Start of the Flow to it. But I got this error : 

 

Start element can’t have a record filter condition that references a resource or element.
 

So, how do I run a scheduled Flow to only run on specific records ? 

Do I need to just run it on all records and put the variable logic within the Flow ? 

 

Thank you.

Sai PraveenSai Praveen (Salesforce Developers) 
hi Vincent,

After the start condition did you tried adding a get records element and then add the required logic there.

Let me know if you need any further details.

If this solution helps, Please mark it as best answer.
Thanks,