Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a workflow which adds a new record to list. i want that workflow to be fired weekly on its own with out a item being craeted or edited. please help me on how this can be done?

Thanks, Raghu

share|improve this question

3 Answers 3

You can create a Console Application in Visual Studio which calls the Workflow Web Service of your list. Once this is done you can create a scheduled task in your server or local machine and set it to run every week.

Using the Workflow Web Service you can call the StartWorkflow method to trigger your workflow. You can find an example here.

share|improve this answer

We recently released Workflow Scheduler for SharePoint Online in Office 365. I guess it is what you are looking for.

Note: This product is paid, but quite cheap. I'm developer of this product.

share|improve this answer

You might be talking about a list workflow here.

You can do below:

  1. Create a timer job that runs once a week & triggers the workflow for some item in the list. Harder option
  2. Create a timer job that runs once a week & just calls listitem.Update() so that the workflow gets triggered automatically. Easier option

For these kind of requirements,

Its better to COPY the logic from your workflow & PASTE it into the timer job

(of cource you have to edit it as per the timer job context).

share|improve this answer
    
For the benefit of people who don't have your approach down pat, can you please explain what a timer job is, what is required to create it and how to create one? Consider that there might be people here that know nothing about Visual Studio. How can this be done with the browser UI or SharePoint Designer? If it does require VS, please indicate that and don't take it as a given that everybody here does .NET. "Create a timer job" means nothing to SharePoint Power Users, who can make SharePoint sit up and beg using just the browser. So, please explain in more detail. –  teylyn Apr 24 '13 at 7:58
    
Yes teylyn, one should probably add all the steps. But there is a word called "please" in the actual question, it tells how desperate the person is for answer (idea). So its better to put it out there so that he/she can proceed further by googling about "how to create timer job" & what not. Since stack is a community, others can/will join in. I believe answers should point out the requestor in a direction & not only about spoon feeding, which takes hell lot of time (given one doesn't any other thing to do) –  Anand May 15 '13 at 8:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.