function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nishant Shah 9Nishant Shah 9 

Urgent : Batch Apex problem

This would be first my batch apex and need urgent help with batch apex code

The requirement is, if 
(Account: NC EQUALS True) // This is checkbox field
 AND 
(Account: StatusEQUALSActive) // Status field on Account
 AND
 (Case: Case Record Type EQUALS NC Action Plan) // NC Action Plan is a record  type on case
 
Then,
Create a Task which would be on Case Object (Owner is CaseOwner) . Till here , everything worked fine with Workflow.
But, this workflow rule should every year on Anniversary (Anniversary is field on Account)

Please help me to achieve this using Batch Apex and schedular.
 
Nishant Shah 9Nishant Shah 9
Workflow rule should recurs every year on Anniversary (Anniversary is field on Account)