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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow fails when updati...
Power Automate
Answered

Flow fails when updating record in D365

(0) ShareShare
ReportReport
Posted on 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

 

Categories:
I have the same question (0)
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    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 at

    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 at

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 211 Most Valuable Professional

#3
trice602 Profile Picture

trice602 198 Super User 2025 Season 2

Last 30 days Overall leaderboard