cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Frequent Visitor

Re: Can't save Flow definition for Dynamics 365 Products entity

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
},

Highlighted
Community Support
Community Support

Re: Can't save Flow definition for Dynamics 365 Products entity

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
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Users online (8,414)