+ Start a Discussion
SFDC DummySFDC Dummy 

Auto Update Picklist Value

Hi All

How to update picklist value af all record on every 31st march of the year using trigger
R Z KhanR Z Khan
You can't use trigger here. You would need to write a schedulable class that invokes a batch since I assume you are going to have more than 50K records eventually. More info here
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_scheduler.htm
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_batch_interface.htm