I've created a flow that looks up all of the payment objects related to a customer for that month and consolidates the amount they've paid into another object. I have it mostly working, but the problem I'm having is it doesn't include the record that is triggering the flow.
So my process starts the flow when a new payment is created. However, the most recent payment isn't being included in when the fast lookup runs. Any thoughts on how I can fix that?
Figured it out. I hadn't committed the currency field to the variable so it would only recognize existing records and wasn't adding the one that triggered the flow. Fixed it by assigning the field I needed to the variable in the process builder