Tuesday, June 3, 2014

Tip: How to Fire an Updated Trigger on Existing Salesforce Records

Hey Salesforce Admins,

Here's a tip to help you if you've got a recently updated or newly created trigger (or workflow rule) that you want to fire on existing records.

Create a custom 'Admin Filter' text field on the object that you are running the trigger on. You don't need to add it to any page layouts or make it visible to users. (I chose this method because I didn't want to update any existing fields that are already in use in order to force the trigger to fire.)

No comments:

Post a Comment

Hi, I'm Jenna.

I can't seem to squelch a desire to find better ways to do All The Things, utilize technology to boost personal productivity, and leverage digital tools to organize my everyday life. If you find yourself similarly inclined, welcome!

Disclaimer

The content I share on this blog reflects my own opinions and experiences, not that of my employer or any other company. Please note that software or techniques mentioned in past posts may no longer be applicable. I try to post updates when possible, but if you have any questions please reach out via the comment area in the sidebar.