cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ezequiel
Level: Powered On

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
Level: Power Up

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
Level: Power Up

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
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

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!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,630)