web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : z5IdS8TbEZabzqKIMcCL8z
Power Automate - Using Connectors
Answered

Flow fails when updating record in D365

Like (0) ShareShare
ReportReport
Posted on 27 Aug 2019 06:17:02 by

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..

FlowFail.JPG

 

  • Verified answer
    yashag2255 Profile Picture
    24,647 Super User 2024 Season 1 on 08 Sep 2019 at 05:45:00
    Re: Flow fails when updating record in D365

    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!

  • Community Power Platform Member Profile Picture
    on 28 Aug 2019 at 17:35:39
    Re: Flow fails when updating record in D365

    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.GetRecord.JPGUpdateRecord.JPG

  • v-alzhan-msft Profile Picture
    on 27 Aug 2019 at 07:27:28
    Re: Flow fails when updating record in D365

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Featured topics

Loading complete