cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Skilled Sharer
Skilled Sharer

Flow to create multiple planner tasks - Tasks create but only the first contains Notes

Hi I have a flow to create Planner tasks for multiple people as specified in a SharePoint column.  Unfortunately only the first task contains the notes/Description.  The Update task details action isn't firing for subsequent tasks.

 I've attached the screenshot of the flow.  Wondering if anyone has encountered this situation.  Thanks.Capture.JPG

 

This is the error - "Internal Server Error" 😞

{
  "error": {
    "code"500,
    "message""Key with path references.resourceLink under $ is not a valid key. Duplicate value https%3A//xxxxxx/EditForm%2Easpx?ID=22 found.",
    "source""asia-001.azure-apim.net",
    "path""choose[14]\\when[1]\\choose\\when[1]",
    "clientRequestId""84b33857-ff1b-4397-81e2-9ce81df7d5d4"
  }
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Skilled Sharer
Skilled Sharer

Re: Flow to create multiple planner tasks - Tasks create but only the first contains Notes

If anyone else has this issue, I raised a ticket with Microsoft and their response as follows

 

Troubleshooting:

==================  

In the Flow error it seems that resource link below is repetitive:

  {
    "alias": "Link to Form - GLOBAL-FY21-22-TEST Project 7Aug",
    "resourceLink": "https://tenant/sites/sitename/Lists/listname/EditForm.aspx?ID=22"
  },

 

Also, In the telemetry error  500s that we can see from the backend contain the same message about duplicated values:

 

 "error": {
    "code": 500,
    "message": "Key with path references.resourceLink under $ is not a valid key. Duplicate value https%3A//tenant/sites/sitename/Lists/listname/EditForm%2Easpx?ID=22 found.",
    "source": "asia-001.azure-apim.net",
    "path": "choose[14]\\when[1]\\choose\\when[1]",
    "clientRequestId": "cb80c439-90da-45d4-9f01-a51d5e685ad0"
  }

 

Suggestion:

==========

As per the product team the error is expected as we cannot not set the reference field to an array variable that contains the same resourceLink twice.

 

 

View solution in original post

1 REPLY 1
Highlighted
Skilled Sharer
Skilled Sharer

Re: Flow to create multiple planner tasks - Tasks create but only the first contains Notes

If anyone else has this issue, I raised a ticket with Microsoft and their response as follows

 

Troubleshooting:

==================  

In the Flow error it seems that resource link below is repetitive:

  {
    "alias": "Link to Form - GLOBAL-FY21-22-TEST Project 7Aug",
    "resourceLink": "https://tenant/sites/sitename/Lists/listname/EditForm.aspx?ID=22"
  },

 

Also, In the telemetry error  500s that we can see from the backend contain the same message about duplicated values:

 

 "error": {
    "code": 500,
    "message": "Key with path references.resourceLink under $ is not a valid key. Duplicate value https%3A//tenant/sites/sitename/Lists/listname/EditForm%2Easpx?ID=22 found.",
    "source": "asia-001.azure-apim.net",
    "path": "choose[14]\\when[1]\\choose\\when[1]",
    "clientRequestId": "cb80c439-90da-45d4-9f01-a51d5e685ad0"
  }

 

Suggestion:

==========

As per the product team the error is expected as we cannot not set the reference field to an array variable that contains the same resourceLink twice.

 

 

View solution in original post

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (3,931)