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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to compare created...
Power Automate
Answered

How to compare created by in two list.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I want delete record from temp list based on users.

 

A list  ( temp)

Title     UserName   ID

Test1    Radhe        1

 

B list    (main)

Title     RequestBy   ID

Test1   Radhe          1

 

I want to check

if(UserName equal to RequestBy)

{

delete item.

}

else

{

not delete item

}

Categories:
  • v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    I have made a test on my side, please make sure the UserName column and the RequestBy column are both single line of text column, and refer to screenshot below to create the flow:

    Capture.PNG 

    Please let me know if your problem could be solved.

     

     

    Best regards,

    Alice

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I tried your way but not delete item.

    workflow run succesfully but not item deleted.

     

    please find screen.1-test.png1-test1.png

  • Verified answer
    v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Please go to the run history of your flow to see the Condition inside the "Apply to each" to check if the Condition value is run into the If yes branch.

     

    I afraid that the Condition is run into the if no branch in your flow.

     

    If your condition is run into the if no branch in your flow, please check if the value is equal in your condition.

     

    Best regards,

    Alice

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you so much.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks so much for that diagram - that really helped - I was pretty much there, but was missing the part about the query fields being text fields.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard