in

SharePoint University

Clean slate. Nothing but SharePoint.
Go, SharePoint!

Notify when assigned task reaches deadline

Last post 01-18-2008 8:12 PM by lakshmi. 19 replies.
Page 1 of 2 (20 items) 1 2 Next >
Sort Posts: Previous Next
  • 10-15-2007 7:21 AM

    • xerg
    • Not Ranked
    • Joined on 10-15-2007

    Notify when assigned task reaches deadline

    Hi.

    I am searching for a Webpart or other solution that notifies the person assigned to a task when the task deadline is nearly reached.

    (For example: 2 days before the task has to be competed, the task-responsible receives an e-Mail)

     

    Has someone an idea how to do this or does someone knows a where to get such a webpart?

    thx

  • 10-15-2007 9:10 AM In reply to

    • mongeau
    • Top 50 Contributor
    • Joined on 08-07-2007
    • Fargo ND

    Re: Notify when assigned task reaches deadline

    It wouldn't be accomplished with a web part, but rather workflow logic. You could have a SPD created workflow that gets fired off on new Task creation, and has an action / condition that does something like:

    Step 1

    CONDITIONS: (leave blank)

    ACTIONS (use Add Time to Date): Add -2 days to Tasks:DueDate (Output to Variable: reminderData)

     

    Step 2 

    CONDITIONS: If Variable: reminderData equals (ignoring time) Today

    ACTIONS (use Send an Email): Email this message

     

    This is just the basics, of course, and you would need to refine it for yourself. Hopefully this gets you started in the right direction, though.

    -Monjo
     

  • 10-15-2007 9:42 AM In reply to

    • xerg
    • Not Ranked
    • Joined on 10-15-2007

    Re: Notify when assigned task reaches deadline

    Monjo Thank You!

     

    Problem solved! That was exactly the kick (in the right direction) I needed.

     

    Have a nice day :)

  • 11-01-2007 2:27 PM In reply to

    Re: Notify when assigned task reaches deadline

    Hey Monjo,

    I am also trying to achieve the same.

    I followed the same steps but i get the workflow completed but no mail in my box.

     Could you please let me know what is the exact step?

     

    Looking forward to haer from you.

    Thanks,

    Lakki

     

     

  • 11-01-2007 2:33 PM In reply to

    Re: Notify when assigned task reaches deadline

    Hey Monjo,

    I am also trying to achieve the same.

    I followed the same steps but i get the workflow completed but no mail in my box.

     Could you please let me know what is the exact step?

     

    Looking forward to haer from you.

    Thanks,

    Lakki

  • 11-01-2007 4:27 PM In reply to

    • mongeau
    • Top 50 Contributor
    • Joined on 08-07-2007
    • Fargo ND

    Re: Notify when assigned task reaches deadline

    Do you receive emails ever? Two things are happening:

    1. You are not meeting the condition, and therefore no email is ever sent.
    2. Email is not enabled, or is having problems on your server.

    To confirm the first, I suggest the Action -> Log to Workflow History and output your variables after the condition. You can view the Workflow History list at http://[sharepoint]/[site]/Lists/Workflow History/ .

     Keep me updated.

     -Monjo
     

  • 11-02-2007 9:41 AM In reply to

    Re: Notify when assigned task reaches deadline

    Hey Monjo,

     Thanks a lot for your quick response.

    I do get mail when i set the today's date in my Due date field of the List.So,No issue with Mail server i suppose.

    But when i set two day's ahead date,i should get mail today(having the condition you have written above,which is also my requirement).

    In this case,i see the workflow completed but never get the mail.

    Let me expalin you in detail my requirement:

    I have list with due date feild and i want to get mail 1 day before my due date is approaching.

    If you have any other idead,please let me know asap.

     Thanks in Advance,

    Lakki

  • 11-02-2007 3:11 PM In reply to

    • mongeau
    • Top 50 Contributor
    • Joined on 08-07-2007
    • Fargo ND

    Re: Notify when assigned task reaches deadline

    Are you adding -1 to the Due Date then? Also, make sure your condition is equals (ignoring time) - the "ignoring time" is important here.

    -Monjo 

  • 11-04-2007 7:44 PM In reply to

    Re: Notify when assigned task reaches deadline

    But this workflow will get executed always or only when a document is uploade or modified,is it mandatory to select when workflow should run, if we don't select any options will it execute automatically always..??

    Even I have a similar requirement, except that, i need to execute it always, I mean, notification mail should be sent when the duedate is today..

    I tried but I am not receiving any mails, how to put (ignoring time) Today, when I try to bind it with date, it will just display today and I can't even insert (ignoring time)  manually...

    My Variable:reminderDate will return a date time field, Do i need to change it??

    Thanks,

      Sam

     

     

     

  • 11-04-2007 8:15 PM In reply to

    Re: Notify when assigned task reaches deadline

    its working without using (ignoring time) , but it will be executed only when a Item is created or modified or if we start the workflow manually..,is there a way to execute it always, i mean every day it should check whether documents duedate has reached if it has, then should send an email..is it possible to execute a workflow like that??

     

    Thanks,

      Sam

  • 11-04-2007 8:28 PM In reply to

    • mongeau
    • Top 50 Contributor
    • Joined on 08-07-2007
    • Fargo ND

    Re: Notify when assigned task reaches deadline

    sammus:
    ... is there a way to execute it always, i mean every day it should check whether documents duedate has reached if it has, then should send an email..is it possible to execute a workflow like that??

    I think you could accomplish this using several options: 

    One - You can do this with state machine workflow, a state with DelayActivity in it that would wake up regularly and do your check, and a simple SendEmail activity to send email. This would need to be done using Visual Studio, though.

    Two - You could use the action "Pause Until Date" in SPD. You start the workflow on new item creation, and do something like the following.

    ACTION: [Pause Until Date] Pause until Tasks:Due Date
    ACTION: [Send and Email]  then Email this message

    This starts the workflow, pauses until your Due Date is reached, and then sends off a reminder email. It's simple, but it may be all you need in your scenario. There is no reason to continually check state if you don't have to. You know what I mean?

    -Monjo
     

  • 11-06-2007 8:59 AM In reply to

    Re: Notify when assigned task reaches deadline

    Hi Monjo,

     This seems to be working.i have tested with one instance.

    Thanks a lot.

     I needed another help.

    For the same list: I want to generate mail daily to the owner(around evening-4.30 PM EST) till the project status is set to complete to update the status.

    Could you please let me know the steps too.

    I have staus field and owner field in my list.

     HOPE YOU ARE CLEAR WHAT I MEAN!!.

    Looking forward to hear from you asap.

     Thanks in Advance,

    lakki

  • 11-08-2007 12:46 PM In reply to

    Re: Notify when assigned task reaches deadline

    Hi,

    Can anyone please let me know the action and condition for creating workflow that does the following:

    From the task list- I want to generate mail daily to the owner(around evening-4.30 PM EST) till the project status is set to complete to update the status.

    Could you please let me know the steps too.

    I have staus field and owner field in my list.

    Thanks in Avance.

     Lakki

  • 11-15-2007 12:14 PM In reply to

    Re: Notify when assigned task reaches deadline

    Hi Monjo,

     Could you please spend your few minutes in letting me know how to do this.

    From the task list- I want to generate mail daily to the owner and team member(around evening-4.30 PM EST) till the project status is in progress state.

    Could you please let me know the condition and Action for the same in sharepoint designer or is there any other way to do this?\

    I have status owner ant team member field in my list.

    Thanks in Avance.

     Lakki

  • 11-15-2007 5:00 PM In reply to

    • mongeau
    • Top 50 Contributor
    • Joined on 08-07-2007
    • Fargo ND

    Re: Notify when assigned task reaches deadline

    Can't be done with SPD. But, you can do this with state machine workflow (created in Visual Studio), a state with DelayActivity in it that would wake up regularly and do your check, and a simple SendEmail activity to send email. Again, this would need to be done using Visual Studio, though. You could probably search online for "visual studio state machine workflow" and follow examples. It will be much more in-depth than an SPD workflow.

    -Monjo
     

Page 1 of 2 (20 items) 1 2 Next >

Need SharePoint Training? Attend a SharePoint Bootcamp!
Forum content (c) original posters. Everything else (c) 2008 SharePoint Experts, Inc.