You need to sign in to do that
Don't have an account?
TROG
sObject Changes Not Saved Within a Visual Flow Loop
VISUAL FLOW. My scenario. I fast lookup and load records into collection sObject called..."Objects". I then loop through "Objects" using loop variable called "Object" and update some of the values for each of the records within "Objects". When that loop is done, I loop through "Objects" again a second time (using loop variable again called "Object") and SOME of the values I updated in the first loop arent there in the second loop. Ie. I'm making changes and immediately looping again and the changes aren't there. It HAS to be a defect, but as SFDC doesn't support FLOW my understanding is that (like other issues I've run across) the only option is work-around. Has anyone else come across this? Any recommended work-arounds or better clarity on what the specific issue is to help me work out a good alternative?
Are you commiting those changes via a 'Record Update' or 'Fast Update' Call? You might need to do another lookup call to retrieve the newest version of those records after the first update as a workaround. This is inpractical. Other than this, you can try to restructure the logic/sequence such that you only do one update at the very end of the flow process.
Hope this helps!
AM
Knowing is half the battle. Go Joe!
Hope this helps!
AM