I create a schedule flow to verify if the daily events meets with some requirements, like enddate = TODAY and another value on a field (The first get records and the decision to verify if isn't null)
After this validations, I get the WhoId field on event: (First get records)
And I need to loop through them (the collection variable) because I wanna to assignment the WhoId field to update the status of the leads, but I can't do this, I create a collection of leads and it doesn't show the option to attribute the WhoId field.
And I made a loop through this collection variable, because I need the Ids of the WhoId field (Lead) to update them. But, when I tried to used the assignment property this wasn't possible, I received this message about incompatibility and I don't know how to solve this, I used the get records inside the loop to used the update records after, but I know that DML must not to be used inside loops. How deal with this? My goal is basically update the status of the leads (WhoId).