Forum Discussion
Create a workflow for sending mail for incompleted task
- Aug 21, 2022
Hi Bhrathi_97
Here is one reference article https://www.enjoysharepoint.com/create-timer-job-in-sharepoint-2016-programmatically/
Hope this helps
Bhrathi_97 You can create a new calculated column and create a new SP Designer workflow or add the new conditions to existing workflow.
I got one article that may help you.
https://threewill.com/sending-reminder-emails-using-sharepoint-designer-workflows/
Creating the SharePoint lists
The first step is to create a list (“List A”) that will be used to drive the reminder email workflow. For my example, this list had three fields:
- Title (Single line of text) – the default title column, also used to link to the other list
- LastReminderTime (Date/Time) – the last time the reminder was sent, used to calculate the next reminder time
- NextReminderTime (Calculated Column) – calculated from the current time to find the next reminder time. Set the return type to “Date and Time”
The other list (“List B”) only has two fields:
- Title (Single line of text) – this should match the title of the other list for the lookup
- LastReminderTime (Date/Time) – this field will be copied from the first list
Creating the SharePoint Designer Workflows
First, create a list workflow for List A to send the reminder emails. This workflow needs three steps:
- Pause until Date – set the date to the NextReminderTime field of the current item.
- Send an Email – send the email as required.
- Update List Item – set the LastReminderTime field of List B to the value of NextReminderTime in the current item, looking up the correct list item on ListA:Title = ListB:Title.
Set the start condition for this workflow to “Start workflow automatically when an item is changed”. Publish the workflow.
Next, create a list workflow for List B to update List A to create a loop. This workflow just has one step.
- Update List Item – set the LastReminderTime field of List A to the LastReminderTime of the current item.
Also set the start condition for this workflow to “Start workflow automatically when an item is changed”. Publish the workflow.