Screen Flow - $Record - Account - Update Account & Contact Ownership
Thu Dec 25 2025 17:06:30 GMT+0000 (Coordinated Universal Time)
Saved by @Davis249
How the Interview Started
How the Interview Started
Omni Fiber Integration (005Uh00000BDCxt) started the flow interview.
API Version for Running the Flow: 65
Some of this flow's variables were set when the interview started.
recordId = 001VG00000ieqL9YAI
versionId:301VG00000lnI7B
Flow start time: December 25, 2025 at 12:02 PM.
Get Records: Get $Record - Account
One or more Account records were retrieved.
Find all Account records where:
Id Equals {!recordId} (001VG00000ieqL9YAI)
Store the values of these fields in Get_Record_Account: OwnerId, Id
Result
Successfully found records.
Transaction Committed
Any records that the flow was ready to create, update, or delete were committed to the database.
Screen: Update Account Ownership
Selected Navigation Button: NEXT
Screen Component: Account_Lookup
Lightning component: flowruntime:lookup
Inputs:
fieldApiName = OwnerId
label = Ownership Change
objectApiName = Account
required = true
Outputs:
recordId = 0058b00000G9C26AAF
recordIds = [0058b00000G9C26AAF]
recordName = Bryant McAfee
Assignment: Update Account Ownership
1 variable was updated.
{!Get_Record_Account.OwnerId} Equals {!Account_Lookup.recordId}
Result
{!Get_Record_Account.OwnerId} = "0058b00000G9C26AAF"
Get Records: Get All Related Contacts
One or more Contact records were retrieved.
Find all Contact records where:
AccountId Equals {!Get_Record_Account.Id} (001VG00000ieqL9YAI)
Store the values of these fields in Get_All_Related_Contacts: OwnerId, Id
Result
Successfully found records.
Loop: Loop Over Contacts
Iteration 0 of the loop through the Get_All_Related_Contacts collection occurred.
$$:LoopNext:
Loop Through: [003VG0000124Y6HYAU,003VG0000166qBHYAY,003VG0000166rYkYAI,003VG0000166vKbYAI]
Iteration: 0
Current iteration item: 003VG0000124Y6HYAU
Assignment: Update Contact Ownership
1 variable was updated.
{!Loop_Over_Contacts.OwnerId} Equals {!Account_Lookup.recordId}
Result
{!Loop_Over_Contacts.OwnerId} = "0058b00000G9C26AAF"
Assignment: Add Contact To Collection
1 variable was updated.
{!NewContactCollection} Add {!Loop_Over_Contacts}
Result
{!NewContactCollection} = "[Contact (003VG0000124Y6HYAU)]"
Loop: Loop Over Contacts
Iteration 1 of the loop through the Get_All_Related_Contacts collection occurred.
$$:LoopNext:
Loop Through: [003VG0000124Y6HYAU,003VG0000166qBHYAY,003VG0000166rYkYAI,003VG0000166vKbYAI]
Iteration: 1
Current iteration item: 003VG0000166qBHYAY
Assignment: Update Contact Ownership
1 variable was updated.
{!Loop_Over_Contacts.OwnerId} Equals {!Account_Lookup.recordId}
Result
{!Loop_Over_Contacts.OwnerId} = "0058b00000G9C26AAF"
Assignment: Add Contact To Collection
1 variable was updated.
{!NewContactCollection} Add {!Loop_Over_Contacts}
Result
{!NewContactCollection} = "[Contact (003VG0000124Y6HYAU),Contact (003VG0000166qBHYAY)]"
Loop: Loop Over Contacts
Iteration 2 of the loop through the Get_All_Related_Contacts collection occurred.
$$:LoopNext:
Loop Through: [003VG0000124Y6HYAU,003VG0000166qBHYAY,003VG0000166rYkYAI,003VG0000166vKbYAI]
Iteration: 2
Current iteration item: 003VG0000166rYkYAI
Assignment: Update Contact Ownership
1 variable was updated.
{!Loop_Over_Contacts.OwnerId} Equals {!Account_Lookup.recordId}
Result
{!Loop_Over_Contacts.OwnerId} = "0058b00000G9C26AAF"
Assignment: Add Contact To Collection
1 variable was updated.
{!NewContactCollection} Add {!Loop_Over_Contacts}
Result
{!NewContactCollection} = "[Contact (003VG0000124Y6HYAU),Contact (003VG0000166qBHYAY),Contact (003VG0000166rYkYAI)]"
Loop: Loop Over Contacts
Iteration 3 of the loop through the Get_All_Related_Contacts collection occurred.
$$:LoopNext:
Loop Through: [003VG0000124Y6HYAU,003VG0000166qBHYAY,003VG0000166rYkYAI,003VG0000166vKbYAI]
Iteration: 3
Current iteration item: 003VG0000166vKbYAI
Assignment: Update Contact Ownership
1 variable was updated.
{!Loop_Over_Contacts.OwnerId} Equals {!Account_Lookup.recordId}
Result
{!Loop_Over_Contacts.OwnerId} = "0058b00000G9C26AAF"
Assignment: Add Contact To Collection
1 variable was updated.
{!NewContactCollection} Add {!Loop_Over_Contacts}
Result
{!NewContactCollection} = "[Contact (003VG0000124Y6HYAU),Contact (003VG0000166qBHYAY),Contact (003VG0000166rYkYAI),Contact (003VG0000166vKbYAI)]"
Loop: Loop Over Contacts
Loop was completed.
$$:LoopEnd:
End Loop.
Update Records: Update Related Contacts
One or more Contact records are ready to be updated.
Update Contact records whose IDs are stored in {!NewContactCollection}.
Variable Values
[
{
"OwnerId": "0058b00000G9C26AAF",
"Id": "003VG0000124Y6HYAU"
},
{
"OwnerId": "0058b00000G9C26AAF",
"Id": "003VG0000166qBHYAY"
},
{
"OwnerId": "0058b00000G9C26AAF",
"Id": "003VG0000166rYkYAI"
},
{
"OwnerId": "0058b00000G9C26AAF",
"Id": "003VG0000166vKbYAI"
}
]
Result
All records whose IDs are in {!NewContactCollection} are ready to be updated when the next screen, pause, or local action is executed or when the interview finishes.
Update Records: Update $Account Record
One or more Account records are ready to be updated.
Update Account records whose IDs are stored in {!Get_Record_Account}.
Variable Values
{
"OwnerId": "0058b00000G9C26AAF",
"Id": "001VG00000ieqL9YAI"
}
Result
All records whose IDs are in {!Get_Record_Account} are ready to be updated when the next screen, pause, or local action is executed or when the interview finishes.
Transaction Committed
Any records that the flow was ready to create, update, or delete were committed to the database.
How the Interview Finished
The flow interview ran for 10.07 seconds and finished on December 25, 2025 at 12:02 PM.



Comments