cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vmoskalenko
Frequent Visitor

Can't save Flow definition for Dynamics 365 Products entity

When I try to add a block with a Create a new record in Dynamics 365 with Products entity I can not even save it. 

It gives me an error Definition contains invalid parameters. I have this error in Flow.

 

I test it in Logic App also. Logic App gives the same error, but it has the ability to see HIDDEN mandatory parameters. 

 

Please fix it.

 

Please find details below

DynamicsProducts2.png

 

LogicApp text:

 

"Create_a_new_record": {
      "inputs": {
      "body": {
      "_defaultuomid_value": "2d4e220b-886c-e711-8113-c4346bac0a3c",
      "_defaultuomscheduleid_value": "2c4e220b-886c-e711-8113-c4346bac0a3c",
      "name": "productname",
      "productnumber": "productnumber",
      "productstructure": null,
      "quantitydecimal": 1
},

2 REPLIES 2
vmoskalenko
Frequent Visitor

JFI.

 

It's still a bug in Flow, but I have a solution in LogicApp.

 

Just delete ""productstructure": null, " string from template

Just make it like it shown below

 

"Create_a_new_record": {
        "inputs": {
        "body": {
        "_defaultuomid_value": "2d4e220b-886c-e711-8113-c4346bac0a3c",
        "_defaultuomscheduleid_value": "2c4e220b-886c-e711-8113-c4346bac0a3c",
        "name": "productname",
        "productnumber": "productId",
        "quantitydecimal": 0
},

Hi @vmoskalenko,

 

Thanks for the feedback.

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,113)