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
E LE L 

Need help with my Visual Flow

Hi,
I am trying to get a sum of a field in a number of detail objects and put it on a master object (like master/detail). Can someone help me with this?
I start my Visual Flow with a fast lookup. I then loop through it and try to assign the value to a vaiable. I then do an update. It just changes the field on the master to 1. I am not sure how to debug this to make sure that it's finding the right object and I might be using the wrong variable (variable vs sobject variable)

Anyone know how to do this?

TIA,
logontokartiklogontokartik
If its master detail, you can just do a roll up summary right? If you want to debug in flows, you can add a screen element, and then print the variable you are tracking,