locked
Run a nightly job to update fields RRS feed

  • Question

  • Hi All,
    I need to create a wf that for example runs nightly, checks values in a field and updates another field. How do i have this workflow run nightly(lets say 11 pm every day)? Also, i need to check the a date field with todays date in the workflow. is that possible?

    If the above 2 cannot be done by wf, can someone suggest another way of doing it? thanks!
    Wednesday, September 24, 2008 4:00 AM

Answers

  • Yep. Ended up using schedule tasks to set up the timer. Thanks everyone!
    Wednesday, September 24, 2008 9:38 PM

All replies

  • WF can't do it that way, you may have to develop an application to the job.

     

    Jim

    Wednesday, September 24, 2008 9:50 AM
    Moderator
  • Thanks. I can write an app to do this. If i create a console app, can i schedule it to run nightly? if not, what other kind of app do i need to create?
    Wednesday, September 24, 2008 1:38 PM
  • Hi,

    I answered this post in the CRM section. Basically you want to use to windows service to perform the task. Same idea as a windows form. Add a timer control and in the timer tick event perform perform the updates.

    Cheers,

    Karlo
    Wednesday, September 24, 2008 6:15 PM
  • You can use you console app, all you need is to configure your Windows  

    Scheduled Tasks to run the app at any time you want. Very esay ins`t it??

     

    Good Luck 

    Wednesday, September 24, 2008 7:22 PM
  • Yep. Ended up using schedule tasks to set up the timer. Thanks everyone!
    Wednesday, September 24, 2008 9:38 PM