Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

MS CRM 4.0 Programming Worlflows in C# for bulk update of customized column.

Avatar of BigBlueMan
BigBlueManFlag for United Kingdom of Great Britain and Northern Ireland asked on
C#Microsoft Dynamics
9 Comments1 Solution1062 ViewsLast Modified:
Hi
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.

thanks

Phil



c-code.txt
ASKER CERTIFIED SOLUTION
Avatar of Dennis Aries
Dennis AriesFlag of Netherlands imageCEO @ Arkro IT

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 9 Comments.
See Answers