Skip to main content

Notifications

Power Automate - Using Connectors
Answered

Dynamics 365 - PostItem_V2 - testing for duplicates

(0) ShareShare
ReportReport
Posted on by 409

I am using PostItem_V2 to create a record in the 'Contact' entity in Dynamics 365.  Dynamics is happy to accept a duplicate contact name as that record name does not have to be unique.  Is there a simple way of testing for a duplicate within the flow?

 

Looking at the connector specification and advanced options in the flow it doesn't seem to cover that:

 

https://docs.microsoft.com/en-us/connectors/dynamicscrmonline/#create-a-new-record

 

 

 

 

 

  • Verified answer
    Re: Dynamics 365 - PostItem_V2 - testing for duplicates

    Hi @ghdunn ,

     

    Please refer to screenshot below to create the flow:

    1.png

     

    Best regards,

    Alice       

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • ghdunn Profile Picture
    ghdunn 409 on at
    Re: Dynamics 365 - PostItem_V2 - testing for duplicates

    Hi @v-alzhan-msft 

     

    I am very sorry but I can't quite relate this specifically to the create new record...this is what I have tried to do...could you help me further with the syntax?

     

    CreateNewRecord.PNG

  • Re: Dynamics 365 - PostItem_V2 - testing for duplicates

    Hi @ghdunn ,

     

    Please refer to screenshot below to create the flow:

    1.png

    The expression for the first value in the Condition as below:

    length(body('Filter_array'))

     

    Best regards,

    Alice       

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,304

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard

Featured topics