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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (1,896)