cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Microsoft
Microsoft

Record created or updated?

Hi, I'm using the connector "When a record is created or updated" with Dynamics 365. Is it possible to know if the record was actually updated or created? I need to do different actions whether it is a new record or the exsiting record was updated

 

Thanks.

 

Ezequiel

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: Record created or updated?

Hi @ezequiel 

 

You can check the Created and Modified dates

If they are the same then record was created else modified

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

3 REPLIES 3
Dual Super User
Dual Super User

Re: Record created or updated?

Hi @ezequiel 

 

You can check the Created and Modified dates

If they are the same then record was created else modified

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

vipinjaiswal12
New Member

Getting different Contact Id (Guid) on create and update

Hi,

 

I create a simple workflow to test CRM and CDS Sync with Flow

First, When a record is created or updated trigger,

checking if createdOn is equal to ModifiedOn and then finally 

created and updated CDS Contact record accordingly.

 

I was simultaneously checking it in Excel by refreshing the rows and I observe when contact is created it generated different Guid which does not exists in Dynamic CRM, so the next immediate update create another fresh record as it didn't find Record identifier in CDS and if we keep updating further it pass the correct contact Id.

 

So, in this case we might end up with two same contact in CDS for single contact in Dynamic CRM.

 

Second, I create two separate Flow for create and update and got similar results.

 

Is CRM generating temp Contact Id on create and passing in Flow.

How can we solve this issue?

 

 

 

vipinjaiswal12
New Member

Re: Getting different Contact Id (Guid) on create and update

image.png

 

 

I observed much more and now I can state that, we do not get Contact Id on the Create Trigger of Dynamic CRM, then what is the way to create a contact Synchronization into CDS entity,

 

image.png

 

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (5,936)