Hi all,
I've created a flow that takes a form submission, creates a new bucket based on that submission in planner and then copies tasks from a template bucket to the new bucket.
The second step i want to add is also copying the details (specifically, the checklist) from the example task to the newly created task, but i am running into an error that i don't know how to address.
here is the basic structure of my flow:

so my form details create a bucket, compose the new bucket ID, list the tasks and filter the array of tasks based on the bucket ID, then there is an apply to each:

this uses the body from the filter array, and gets task details from the ID of the filtered array, composes the checklist out of that specific item and creates a task using a combo of the example tasks and form submissions:

My next step was taking the task's checklist item and doing an update task details:

the ID is from the create a task, the checklist title is from the get task details action (which is the example task with checklist) and then finally the checklist is from get task details action.
now, here is where i run into issues - the flow works fine up to this point - creating the new bucket and the appropriate list of tasks, but, when it goes to update the newly created tasks with the checklists from the example tasks i get the following error:

now, i'm no expert, but, looking at the raw input it appears that it is pulling the task list correctly:
{
"host": {
"connectionReferenceName": "shared_planner_1",
"operationId": "UpdateTaskDetails_V2"
},
"parameters": {
"id": "VLjK-Y1c_06ylvDedAGY_2QADI3v",
"body/description": "at 3 week intervals, spot check historical data is recording",
"body/checklist": [
{
"id": "27739",
"value": {
"@odata.type": "#microsoft.graph.plannerChecklistItem",
"isChecked": false,
"title": "at 3 week intervals, spot check historical data is recording",
"orderHint": "8585766240YY",
"lastModifiedDateTime": "2021-06-29T16:07:44.4027259Z",
"lastModifiedBy": {
"user": {
"displayName": null,
"id": "e07b5f1e-69ac-4630-aed2-796ec4d63dee"
}
}
}
},
{
"id": "27886",
"value": {
"@odata.type": "#microsoft.graph.plannerChecklistItem",
"isChecked": false,
"title": "at 3 week intervals, spot check performance calcs for reasonable calculation results",
"orderHint": "8585766240E3",
"lastModifiedDateTime": "2021-06-29T17:19:44.95805Z",
"lastModifiedBy": {
"user": {
"displayName": null,
"id": "0cbed744-1166-4bbd-8d59-2f4f0cda4e33"
}
}
}
},
{
"id": "33937",
"value": {
"@odata.type": "#microsoft.graph.plannerChecklistItem",
"isChecked": false,
"title": "at 3 week intervals, spot check data for accuracy",
"orderHint": "8585766241338441995P}",
"lastModifiedDateTime": "2021-06-29T17:18:20.8008771Z",
"lastModifiedBy": {
"user": {
"displayName": null,
"id": "0cbed744-1166-4bbd-8d59-2f4f0cda4e33"
}
}
}
}
]
}
}
and this matches the output of the get task details:
{
"statusCode": 200,
"headers": {
"Transfer-Encoding": "chunked",
"Vary": "Accept-Encoding",
"Strict-Transport-Security": "max-age=31536000",
"request-id": "ba9fd0bc-8b51-46c0-8b37-a5eed00d2269",
"client-request-id": "ba9fd0bc-8b51-46c0-8b37-a5eed00d2269",
"x-ms-ags-diagnostic": "{\"ServerInfo\":{\"DataCenter\":\"East US\",\"Slice\":\"E\",\"Ring\":\"5\",\"ScaleUnit\":\"001\",\"RoleInstance\":\"MN1PEPF00002D04\"}}",
"OData-Version": "4.0",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "true",
"Cache-Control": "no-cache",
"Date": "Tue, 06 Jul 2021 13:27:19 GMT",
"ETag": "W/\"JzEtVGFza0RldGFpbHMgQEBAQEBAQEBAQEBAQEBAcCc=\"",
"Content-Type": "application/json",
"Content-Length": "1889"
},
"body": {
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#planner/tasks('4fUcD8RJiUydSoN2-zMlGmQAKCVe')/details/$entity",
"@odata.etag": "W/\"JzEtVGFza0RldGFpbHMgQEBAQEBAQEBAQEBAQEBAcCc=\"",
"description": "",
"previewType": "checklist",
"id": "4fUcD8RJiUydSoN2-zMlGmQAKCVe",
"references": [],
"checklist": [
{
"id": "27739",
"value": {
"@odata.type": "#microsoft.graph.plannerChecklistItem",
"isChecked": false,
"title": "at 3 week intervals, spot check historical data is recording",
"orderHint": "8585766240YY",
"lastModifiedDateTime": "2021-06-29T16:07:44.4027259Z",
"lastModifiedBy": {
"user": {
"displayName": null,
"id": "e07b5f1e-69ac-4630-aed2-796ec4d63dee"
}
}
}
},
{
"id": "27886",
"value": {
"@odata.type": "#microsoft.graph.plannerChecklistItem",
"isChecked": false,
"title": "at 3 week intervals, spot check performance calcs for reasonable calculation results",
"orderHint": "8585766240E3",
"lastModifiedDateTime": "2021-06-29T17:19:44.95805Z",
"lastModifiedBy": {
"user": {
"displayName": null,
"id": "0cbed744-1166-4bbd-8d59-2f4f0cda4e33"
}
}
}
},
{
"id": "33937",
"value": {
"@odata.type": "#microsoft.graph.plannerChecklistItem",
"isChecked": false,
"title": "at 3 week intervals, spot check data for accuracy",
"orderHint": "8585766241338441995P}",
"lastModifiedDateTime": "2021-06-29T17:18:20.8008771Z",
"lastModifiedBy": {
"user": {
"displayName": null,
"id": "0cbed744-1166-4bbd-8d59-2f4f0cda4e33"
}
}
}
}
]
}
}
when i look at the contents of the update task details i don't really understand where to edit or add the missing value(s):

i've tried both with, and without the references collection:

not sure what needs to be done to correct the issue