Hi,
We have created a flow that should update a record (SalesQuotationHeader) i D365FO.
Unfortunately it fails randomly. It can run successfully and then suddenly fail. I have tried to resubmit the same flow again and again and it differs randomly between succes and fail. We really can't discover what happens.
Maybe it is not the right way to do it..
Hi @Anonymous
The Flow is probably failing because the Object ID expects a GUID of the record and you are passing the variables in there. So if you want to update the record that you got in the last step, you need to use the ID of the record retrieved to update the record. You can type the name of the entity or 'id' in the dynamic selector to get the record ID for the Update Record action and use that as a reference.
Hope this Helps!
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!
The flow is triggered by an action in a PowerApp.
First of all we initialize 3 variables.
Then we get a record from D365FO
Last we update the same record in to D365FO.
But i'm very much in doubt if it the "GetPost"-step is necessary?
Next i'm very much in doubt if it is really necessary to update all the fields in the entity - isn't it possible only to update a single field in the record. I don't want to mess with all the other fields.
Hope my question is understandable.
Hi @Anonymous ,
Could you please explain more details about your scenes?
Could you please share a screenshot of the configuration of your flow?
Best regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.