Re-run JavaScript on all records


Sometime we add new JS code and then once we have tested on a few records we need to re-save all records to ensure the new code runs on all the records. How can this be done without manually going into each record?

I tried doing a mass update on a temp field which did not work.


Are you referring to post-workflow Javascript? In this case, you can try doing an import on the records that needs to be updated configuring the update to execute post-workflow, or you can move the workflow to an action button and mass execute the action button.

Thanks the action button is a much cleaner option.