cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ValerioSacco92
Regular Visitor

Troubles in create a planner task with dynamic content

Hi everyone,

I'm building a flow which creates a task in Planner using a PlanId and BucketId retrieved from a sharepoint list.

 

I defined and set a two strings variables with the values of PlanId and BucketId and I passed them to the create planner task, as showed below.

Cattura.PNG

When I run the flow I encounter this error: 

" Schema validation has failed. Validation for field 'PlanId', on entity 'Task' has failed: The specified identifier is invalid. "

 

So I've tried to insert in the task input the actual values of the Plan e Bucket Ids, and the flow ran successfully.

 

tempsnip.png

I've checked also the raw input and they are the same in both cases.

 

Someone could help me with this issue?

 

Thank you,

Valerio

2 REPLIES 2
psycrkz1
Community Support
Community Support

Tried the similar on my end which works fine with the string variable for plan id and bucket id:

psycrkz1_0-1601852976032.png

psycrkz1_1-1601853030083.png

Please double check with the variable assignment and try again 

ValerioSacco92
Regular Visitor

Hi @psycrkz1,

the problem arises only when I retrive the values from an external source as Sharepoint or Excel Online.

If I set the two strings variable with the values, I encounter the Schema Validation error.

 

Cattura3.PNG

As you have suggested the flow works fine if I set the variables with the values manually.

 

 

Thank you

Valerio

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

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