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

Product is not being updated in Dynamics 365 Finance and Operations from Microsoft Flow

I am currently trying to create a flow to use within my PowerApp that updates an Item in my ReleasedProducts Entity.

 

However, whenever I attempt to run the Flow, I am able to "Get a record" but I am unable to "Update a record"

 

I receive the following error:

"Bad Request"

{
"status": 400,
"message": "An error has occurred. Error executing code: The field with ID '0' does not exist in table 'EcoResReleasedProductV2Entity'.\r\nclientRequestId: 19451bd3-d44b-41c4-a5f8-ec414806eae6",
"source": "azure-dev-02627c2690965b2986devaos.cloudax.dynamics.com",
"errors": []
}

 

My Flow is pictured below:

2019-05-08 15_29_01-Window.png

3 REPLIES 3
Super User
Super User

Re: Product is not being updated in Dynamics 365 Finance and Operations from Microsoft Flow

The Object id should be a unique string (documentation😞

 

Object id string 
Unique identifier of the object to update
Key: id

How you currently have it configured in both the Get a record and the Update a record steps will not work. Generally within Flow, the Object id is simply ID, as it refers to/calls the GUID of that specific item's record. 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

Highlighted
Jfreitas
Frequent Visitor

Re: Product is not being updated in Dynamics 365 Finance and Operations from Microsoft Flow

When attempting to get only one value I get the following error:
 
"status": 400,
"message": "Only 1 of 2 keys provided for lookup, provide keys for dataAreaId,ItemNumber.\r\nclientRequestId: 817a8ecc-2621-4dab-b3be-b7af7ad6f7e6",
 
That is why I had it the other way before
v-lin-msft Post Prodigy
Post Prodigy

Re: Product is not being updated in Dynamics 365 Finance and Operations from Microsoft Flow

Hello @Jfreitas ,

 

You can try to configure Object id of Update record action using Dynamic content in Get record.

Just like the screenshot showed that:Annotation 2019-05-14 151816.png

 

Annotation 2019-05-14 152210.pngPlease have a try and contact us if you have other questions.

 

Best Regards,

Community Support Team _ Lin Tu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (7,378)