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 :
Power Platform Community / Forums / Power Automate / Easy Question - Want t...
Power Automate
Unanswered

Easy Question - Want to add new or edit existing list entry, can't figure it out.

(0) ShareShare
ReportReport
Posted on by 46

This has to be the most stupid-easy question ever, but for some reason it's not coming to me of what the best way to do this would be.

 

In short, I've got a sort of internal review process going on with a couple different lists that rollup into a master list (permissions requirement is why it was done this way), the master list is something I enforce Unique ID's on because we want to only have one line item that just continually gets updated. Every employee would get a line item, the thing that isn't so obvious to me is how would be the best way to have a condition that checks if the item already exists in the "master list", I'm passing the unique ID back to each of these lists so editing them is no problem but I can't have both b/c it just errors out due to the unique ID field. 

 

Hopefully that makes sense of what I'm trying to do, can't figure out the best way to put a condition in to simply CHECK if an item exists, if it doesn't.. I'd want to create a new item, otherwise I'd want to just edit the existing item.

 

Any help would be greatly appreciated, because I've searched the living crap out of this and am about to pull my hair out with the crappy ways I've been ATTEMPTING to do this.

Categories:
I have the same question (0)
  • v-monli-msft Profile Picture
    on at
    Re: Easy Question - Want to add new or edit existing list entry, can't figure it out.

    Hi @BigShotRob,

     

    Sorry that I couldn't say that I have fully understood what you want to achieve. But about the part that you want know how to put a condition in to simply CHECK if an item exists, you could use a Get items action and a condition like below:
    Capture.PNG

     

    Fill the item ID in the value field.

     

    Regards,

    Mona

  • BigShotRob Profile Picture
    46 on at
    Re: Easy Question - Want to add new or edit existing list entry, can't figure it out.

    Thanks for your reply.

     

    However, the problem here is that I'm not able to pass the ID to the list that it'd be coming from to do a compare, there was a good reason as to WHY I couldn't pass the destination lists Unique ID to the one I'm referencing, but I don't remember now what that was, I think it had something to do with the destination list has a Unique ID of the employees name (people picker) that I'm just trying to update, and I couldn't drive the ID back to the source list because the source list has no unique fields, many items to one here, hold up.. going to stop this while I try to recall the full extent of the logic behind why i did it that way in the first place.

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard