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 Apps / How to update list of ...
Power Apps
Unanswered

How to update list of records in dataverse using power automate

(0) ShareShare
ReportReport
Posted on by 51

Hello,

I am try to update a field in a Dataverse table based on condition. I am using power automate for this . But I am getting error when I am trying to update the list of records when i am trying to update using power automate. Please help .

Many Thanks,

Nilanjan

I have the same question (0)
  • v-xiaochen-msft Profile Picture
    on at

    Hi @Dronzer10 ,

     

    Why did you use the 'question id' value in the row id column?

    vxiaochenmsft_0-1644284713425.png

    The row id column 's value is a guid value. It's unique. 

     

    Best Regards,

    Wearsky

     

  • Dronzer10 Profile Picture
    51 on at

    Hello,

     

    Question id is "items('Apply_to_each')['Question ID'])". This is also I am using in Filter array. I am also not sure what to put in this area, frankly speaking. As I am passing an array of items and this update should run for all of these items. I am attaching the screenshot of error .

  • v-xiaochen-msft Profile Picture
    on at

    Hi @Dronzer10 ,

     

    As I said before, flow needs to know which record you want to update.

    Every record in dataverse has a guid value. When the recored is created, the guid value is automatically generated.

    vxiaochenmsft_0-1644298429000.png

     

    Best Regards,

    Wearsky

     

  • Dronzer10 Profile Picture
    51 on at

    Correct, See I am attaching a screenshot which I have used in other flow. Here I am extracting the 1st record. The outputs from Compose i am using for Update the record. 

    But here I am trying to get the array of records so I am facing the challenge. How I will get the row id in the present case.

    Please advise.

  • v-xiaochen-msft Profile Picture
    on at

    Hi @Dronzer10 ,

     

    In your case, you are getting the value of the 'qustionid' column for your firsr item in the 'compose' action.

    If you want to get the id of this item , I did a sample for you.

    vxiaochenmsft_0-1644301374061.png

    vxiaochenmsft_1-1644301426824.png

     

    first(outputs('List_rows')?['body/value'])?['crba2_testl16id']
    // The column name you could find in the dataverse table . In my sample , its name is crba2_testl16id.
     
    vxiaochenmsft_2-1644301480774.png

     

    In addition, if you want to get records' ids (array), you could use select action.

    vxiaochenmsft_3-1644301622757.png

     

    vxiaochenmsft_4-1644301655209.png

     

    Best Regards,

    Wearsky

     

  • Dronzer10 Profile Picture
    51 on at

    Correct for the array of items, I am using select and the compose. But I am not getting what to use in row id at  Update a row operation. If I am using the Outputs of the compose its still give me error. I am attching the screen shot of this error.

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard