Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Workflow to check for duplicates

(0) ShareShare
ReportReport
Posted on by 234

Hi,

I have a simple workflow which runs a fetchxml to find duplicates, It matches a number of fields of the record in question, and if a dup is found, it marks the record as a dup (yes i know about dynamics dup checking, i need to use this). I need to run this workflow in bulk (ill be using XRLToolbox bulk workflow execution).  My problem is that when the workflow fires, it starts on both records at the same time, and as a result, matches both records as a dup. Record1 is marked as a dup because of Record2, and Record2 is marked as a dup because of Record1. How could i avoid this and only mark a single record as a dup?

*This post is locked for comments

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Workflow to check for duplicates

    Hi,

    If I am not wrong, your workflow must be running in background which is why it is picking up the record at the same time. If you change your workflow to real time then the execution will happen sequentially and thus you can avoid this scenario.

    Hope this helps.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 54

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans