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
BobPBobP 

Screen Flow receiving an error from update record element

I am receiving the following error with my screen flow that is updating a custom object record with an account fom a record collection.

Error element Update_Referral_with_Account (FlowRecordUpdate).
This error occurred when the flow tried to update records: If you use a record variable to update or delete records, the ID value in the variable must be populated


Get Record Element
Get Element
Select Account from Collection
User-added imageAssign Account to Referral
Assign Element

I tried updating the referral record two differnt way with no success

Update 1
User-added image
Update referral 2
User-added image
Best Answer chosen by BobP
BobPBobP
I figured it out. I didnt have the corrrec variable selected on the lightning page