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
Highlighted
Dual Super User II
Dual Super User II

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
Highlighted
Dual Super User II
Dual Super User II

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

Highlighted
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?

 

 

 

Highlighted
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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (7,178)