Re: New task when a planner task is timed out
Hi
THere is no trigger for Plnner covering the scenario "When a Planner task is overdue".
So, your suggestion (i.e. use Delay Action Block) seems to be the most reasonable approach.
Now, once the delay is over, I would add the action block 'Get a Task', and take into account these possible scenarios:
-The task was deleted (an error will be received)
-The task already exists, marked as Completed
-The task already exists, uncompleted, but Due Date was increased
-The task already exists, uncompleted, and Due Date keeps the same as the one you assigned
'Get a task' will provide several parameters as outputs, including Task related Dates, here you are an example. Plase also note when a task is marked as completed, "completedDateTime" will be no empty.
Hope this helps
| @odata.etag |
W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAUCc=" |
| planId |
L1vKn-eNnEyS0aluFYn0GsgAHOz4 |
| bucketId |
4_wgk59YWkepYHMopRIv0MgAL8En |
| title |
CAS# BW & Portal Upgrade |
| orderHint |
8.59E+18 |
| assigneePriority |
|
| percentComplete |
0 |
| startDateTime |
2020-08-03T00:00:00Z |
| createdDateTime |
2020-01-28T02:14:08.2349793Z |
| dueDateTime |
2020-10-01T00:00:00Z |
| hasDescription |
FALSE |
| previewType |
automatic |
| completedDateTime |
|
| completedBy |
|
| referenceCount |
0 |
| checklistItemCount |
0 |
| activeChecklistItemCount |
0 |
| conversationThreadId |
|
| id |
N8SiBZCG3UCtQBSA-DYug8gAGJUt |
| createdBy |
{"user":{"displayName":null,"id":"5cd9d9ff-fd1b-4d7a-bbf2-9eb8ab8cc855"}} |
| appliedCategories |
{"category4":true} |
| assignments |
{"939d15db-54c2-4f0c-bd18-0cb1c18448e3":{"@odata.type":"#microsoft.graph.plannerAssignment","assignedDateTime":"2020-01-28T02:14:08.2349793Z","orderHint":"8586214292973832250Pg","assignedBy":{"user":{"displayName":null,"id":"5cd9d9ff-fd1b-4d7a-bbf2-9eb8ab8cc855"}}}} |