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
Stephanie Zimmerman 9Stephanie Zimmerman 9 

Possible to write a visual flow to update most recently created child record

Hi everyone,

I have a use case where when a parent record's status is updated to "Active," I want to update the status of the most recently created child record only. I am trying to think through a possible way to do this without apex. I've tried building a flow but am stuck on whether it is possible to use a loop to look through child records by created date and only return the child record with the most recent created date. 

Any thoughts/advice are much appreciated. 

Stephanie