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 Automate
Answered

Check if record exist

(0) ShareShare
ReportReport
Posted on by 104

Hi all, 

I want build a flow to check if record is already exist in dynamics based on the field. I have entity A, which has number field, when the new record is created in entity A i want to check if record with same number already exist in entity A, if yes i want to link both the records together.  How can i achieve this?

 

Thanks... 

Categories:
I have the same question (0)
  • varshinims08 Profile Picture
    104 on at

    Thank you so much @v-duann-msft,

    I achieved what i wanted. 

  • varshinims08 Profile Picture
    104 on at

    Hi @v-duann-msft,

    I gone through the link you have provided. But i didnt understand what should i take instead of whole number.

    It will helpful if you can explain about it!

     

    Thank you... 

  • varshinims08 Profile Picture
    104 on at

    Hi @v-duann-msft

    Thanks for reply, 

    I tried the flow you have attached, but i am getting result as false even when the record exist. I dont know what I am missing. Can you please help?

     

    This is my flow

    e036c43a-c1c7-4870-a22f-882f887cc752.png

    75fef393-22bc-45ee-a781-7084be233a42.png

    and this is result i am getting

    6333e90e-f04b-4510-ae63-d98858497e2e.png

    909abae2-59a6-46f1-9798-cee026a8434b.png

     

  • Verified answer
    v-duann-msft Profile Picture
    on at

    Hi @varshinims08 

     

    Thank you for posting.

     

    According to your description, you would like to use flow to update your table based on number column.

     

    But I’m confused about your request related to link this two records which has same number value. What do you mean by link both the records together? Could you please show me an example ? Thanks in advance.

     

    By the way, the flow you required would like as below:

    length(outputs('List_records_(deprecated)_2')?['body/value'])

    v-duann-msft_0-1612947735309.png

     

    Following up the flow provided, when expression returns true. It means the new created record is the first record that contains this number.

    When you get false from expression, it means, the record with same number already exists.

     

    If you want to link two records, please configure link action in no branch.

    https://powerusers.microsoft.com/t5/Building-Flows/How-do-I-create-a-flow-that-checks-if-a-record-already-exists-in/td-p/566110

     

    Best regards,

    Anna

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 245 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 207 Most Valuable Professional

#3
trice602 Profile Picture

trice602 185 Super User 2025 Season 2

Last 30 days Overall leaderboard