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
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

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

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Users online (79,707)