1 risposta
Hi Lauren,
Are you familiar with lightning flow? Flow would be able to do this pretty easily.
A Get element to get all accounts sorted by asset size.
A loop that loops through the collection variable from the previous step
A assignment that takes a number variable and adds 1 to it for every record in the loop
A assignment that loads those changes into a new collection variable
An update that updates the new collection variable.
If you haven't check used flows before check out these trailheads and give it a try, if you run into issues feel free to ask.