Discussion:
Scheduling of Workflows
(too old to reply)
Ro
2009-07-22 12:41:31 UTC
Permalink
Hi

Using Sharepoint Designer is there a way of scheduling workflows? i.e. I
would like a task to be created at the same time every week.

Regards

Ro
Mike Smith
2009-07-26 05:00:01 UTC
Permalink
Sorry, but no. SPD workflows are "event driven" and are fired only on "item
created" or "item changed" and they can be manually started.

But here's an idea. If you just want a new task on a schedule, create a
little .Net application that adds the task using the API or the web services.
Probably not much more the 8-10 lines of code to create a little console
application and then schedule it using the Windows task scheduler.
--
Mike Smith
TechTrainingNotes.blogspot.com
Post by Ro
Hi
Using Sharepoint Designer is there a way of scheduling workflows? i.e. I
would like a task to be created at the same time every week.
Regards
Ro
mrschlei
2009-07-31 15:33:37 UTC
Permalink
Post by Mike Smith
Sorry, but no. SPD workflows are "event driven" and are fired only on "item
created" or "item changed" and they can be manually started.
But here's an idea.  If you just want a new task on a schedule, create a
little .Net application that adds the task using the API or the web services.
Probably not much more the 8-10 lines of code to create a little console
application and then schedule it using the Windows task scheduler.
--
Mike Smith
TechTrainingNotes.blogspot.com
Post by Ro
Hi
Using Sharepoint Designer is there a way of scheduling workflows? i.e. I
would like a task to be created at the same time every week.
Regards
Ro
Probably a bit more complicated than Mike's solution above (but with
no coding required) would be to have two custom workflows working on a
custom task-generating list. One workflow would start when anything
is changed and then wait until a custom "Date and Time" column (let's
call it "Time to Create Task"), and then it would create a task in a
list. Another secondary workflow would sit and wait for the first
worklfow to be "Completed" and then do something along the lines of re-
setting the previously-mentioned "Time to Create Task" column to a
week in the future. This would restart the original workflow, which
would create, essentially, an infinite loop of weekly task generation.
Aleksandr Gorlach
2012-06-01 10:26:13 UTC
Permalink
You can download freeware workflow scheduler: http://www.harepoint.com/Products/HarePointWorkflowScheduler/Default.aspx

WBR, Alexander
Post by Ro
Hi
Using Sharepoint Designer is there a way of scheduling workflows? i.e. I
would like a task to be created at the same time every week.
Regards
Ro
Post by Mike Smith
Sorry, but no. SPD workflows are "event driven" and are fired only on "item
created" or "item changed" and they can be manually started.
But here is an idea. If you just want a new task on a schedule, create a
little .Net application that adds the task using the API or the web services.
Probably not much more the 8-10 lines of code to create a little console
application and then schedule it using the Windows task scheduler.
--
Mike Smith
TechTrainingNotes.blogspot.com
Post by mrschlei
em
a
ces.
I
Probably a bit more complicated than Mike's solution above (but with
no coding required) would be to have two custom workflows working on a
custom task-generating list. One workflow would start when anything
is changed and then wait until a custom "Date and Time" column (let us
call it "Time to Create Task"), and then it would create a task in a
list. Another secondary workflow would sit and wait for the first
worklfow to be "Completed" and then do something along the lines of re-
setting the previously-mentioned "Time to Create Task" column to a
week in the future. This would restart the original workflow, which
would create, essentially, an infinite loop of weekly task generation.
Loading...