Here is the scenario:
I have a record triggered flow on Opportunity Product (OpportunityLineItem) object insert & update. When OPL(OpportunityLineitem) is inserted or updated of a particular product family, then a custom field is updated with the Quantity of that OPL. Also whenever OPL is inserted from that family the quantity of this OPL will get added to the Opportunity custom field. So basically the Opportunity field will be the sum of the quantity of the products (of same product family) added through OPL.
scenario -> Opp1 - Opp_field__c
OPL1 -> Family1 - Quantity - 20
OPL2 -> Family1 - Quantity - 30
expected result -> Opp_field__c - 50
actual result -> Opp_field__c - 30
flow criteria ->record triggered on insertion/update -> assignment -> Opp_field__c is added with the quantity of OPL inserted/update.
Things to note: This is happening only when I am trying to add both the OPL at once and trying to update the field from same opportunity but for different OPL records that triggered the flow