You need to sign in to do that
Don't have an account?
Zeeshan Moulvi 2
Update Field(Apex Class Schedule Daily)
Hi,
I have a requirement we i need to update the field daily.
Every day when date changes the value from Field 1 should be updated in Field 2 and Field 2 value should be moved to Field 3.
This process should trigger every day.
Object Name: Daily_Check_List__c
Field 1: Todays_Status__c
Field 2: YesterdayStatus__c
Field 3: X2DaysPastStatus__c
Thanks,
Zeeshan.
I have a requirement we i need to update the field daily.
Every day when date changes the value from Field 1 should be updated in Field 2 and Field 2 value should be moved to Field 3.
This process should trigger every day.
Object Name: Daily_Check_List__c
Field 1: Todays_Status__c
Field 2: YesterdayStatus__c
Field 3: X2DaysPastStatus__c
Thanks,
Zeeshan.
Thanks for posting your query. You can write a batch job to achieve this in Apex. See below code snippet.
This code is not tested and excuse for best practices..
Thanks,
Keshab Acharya