Randomly Execute Function

I’m looking for a formula to execute upper(first_name) on 10% of the records. Couldn’t find anything on Google or in existing posts. Sorry for noob question but I’m just trying to adopt some new skillset to apply to my day job.

You can use a random number in an inline formula:

if random(1,100) <= 10
  this.downcase
else
  this
end