MS CRM 4.0 Programming Worlflows in C# for bulk update of customized column.
I'm a beginner in the C# language, but trying to progamme a plugin using the CRM SDK to be used iin workflow to update a number of Lead records at a given time of the day. I have the basic recurring workflow (created with CRM) that can wait to execute an operation at a specific time, but am struggling slighlty on the C# plug in side..
What I'm trying to achieve;
1. a workflow runs at a given time during the day (e.g. 5pm) (DONE).
2. it updates a column in several records on the lead table, called for example, new_test_field, that I've created. It will only update the column to a value, where the createdon value is set to the current day..
I've create the workflow infrastucture to wait for execution at 5pm, but now struggling with the C# plugin... Downloaded a simlar example from the Web which updates the status on the account entity but was wondering if this can be adapted to update the customized column as I indicated. Example is attached.