We’ll use two workflows: one with Sharepoint 2013 as a Plateform Type, and the other one with Sharepoint 2010 as a Plateform Type. We want to be notified when an item hasn’t been updated in 15 minutes.
- Create a dedicated list that will have only 1 item with a loop workflow – let’s call the list “Time Tracker”
- This list must contain two fields:
- “Current Time” that is a Date with Time field:
- “Update” that is a Yes/No field:
- “Current Time” that is a Date with Time field:
- Open Sharepoint Designer and create a new Sharepoint 2013 Workflow for this list – only run it manually:
- In this workflow we define Stage 1 with the below operations:
- If “Update” field from “Current Item” equals to “Yes”, then:
- Pause for 0 days, 0 hours, 1 minutes
- Set “Update” to “No”
- Set “Current Time” to “Modified“ from the “Current Item”
- Set “Update“ to “Yes”
- In Transition to Stage, we’ll loop to Stage 1 with “Go to Stage 1”
- Create one item in this list with “Current Time” is whatever you want, and “Update” is “Yes”
- Manually start the workflow you’ve just created for this item: the workflow should run forever
- Next step is to create a Sharepoint 2010 Workflow for the list you want to track – run it on creation and updates:
- In this workflow we’ll define the below operations – in my case I only want to track one item that has ID 32:
- Pause for 0 days, 0 hours, 15 minutes
- Find minutes between “Modified” from “Current Item” and “Current Time” from ”Time Tracker” (output to variable: “MinutesOld”) – we’ll use ID = 1 to get the correct item from “Time Tracker”
- If variable “MinutesOld” is greater than or equal to 15, then send an email
After following these instructions, you should receive an email when the item has not been updated within 15 minutes.