Hi,
I suggest you create a new site workflow that is scheduled to run each day. The workflow starts to calculate today's date minus two weeks.
Now add a query list action and query all items from your list where due date equals the calculated reminder date. For example query the url, title and assigned person.
Now add a for each loop and iterate the queried items. In the loop send a mail to the according assignee and include the title and link.
Hope this helps.
Best regards
Enrico
Hi Enrico, thanks a lot for your answer.
But Im confused about my workflow :-(.
These are the urgend columns in my library
AssignedTo (responsible for the each document)
DueDate (this is the date for calculating to send email weeks ago beforde this due date is reached)
Status:
New
in process
Complete
Now I habe created the workflow with
Calculate date
Query list
for each
send notification
The following settings are:
On For each i cannot choose any informatin??
An im not sure if i have do right in Query List to set a variable from assignedto into col_duedate
Thanks Enrico.
Hmm, now I am confused a bit
1. Why do you calculate Today's date - 2 Days?
If you want to send alerts 2 weeks before the due date is reached you should calculate today's date + 14 days. This way all items, which's due date is within the next two weeks will be queried and notifications will be sent.
Calculating today - 2 days will only query elements that are overdue until 2 days back.
2. You're calculating the date and you save it to the variable var_duedate. In the next step you use it as a filter in the query list action. But you're using it to query the AssignedTo column. Shouldn't it be the Due Date column?
In the query list item you need to save each queried column into a collection variable. For example assignedTo is saved in a collection variable "assignees".
This collection variable can be iterated in the for each action. There you can save the iteration value in a people variable by selecting it in "Store results in".
This video by Cosima von Kries demonstrates nicely how to use for each loops and collections:
How To: Nintex Workflow for SharePoint - For Each Loop - YouTube
Best regards
Enrico
Hi Enrico,
1. I have calculate 2 days because of testing . With your description now Im understanding how to calculate the due date :-)
2. Ok I have understand
Thanks al lot Enrico for your description and time!
Best regards
Micho