I have a Record-Triggered flow that is triggered when a quote line item is deleted. In a loop each of the quote line items of the quote are checked for some condition, and if it is met then a custom variable named Approval Level is set to 3, and the quote line item is added to a collection named UpdatedQLIs. At the end of the flow an Update Records is done on UpdatedQLIs, but the value of Approval Level in the quote line items in the collection at this point is 0. I'm confounded why the value is 0 rather than 3; There is nothing that overwrites this field between when it is set in the loop and when the UpdatedQLIs collection is stored.
Thank you for replying Karen. I changed some things in the flow while troubleshooting another problem and this problem went away. I wish I knew what was causing it, but now that it's working I'll close this out.