Discussions
Scheduled Script Saved Search/ Mass update
I have a script that currently runs aftersubmit on a custom record. I have many records that need to be updated and I don't want to open each one in edit mode then save to get the script running. Instead I want to run a Scheduled Script that looks at a search that has the records with empty fields. I then want the script edit all of the results so all of the records are up to date.
Here are the steps needed:
- Create a saved search for all custom product records with a specific field as null
- Load the search on the script and loop through each result.