Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to update existing set of records without coding, when new record is created?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

How to update existing set of records without coding, when new record is created?

All records belong to same parent entity. For example, Legal Activity records belong to one Contract. When new activity record created, CRM should put "End date" in existing records.

*This post is locked for comments

  • Suggested answer
    Abed Haniyah Profile Picture
    Abed Haniyah 4,285 on at
    RE: How to update existing set of records without coding, when new record is created?

    Unfortunately, there is no OOB functionality to cover this.

    By SDK, when adding a new Activity to a Contact, you need to retrieve all of the existent activities which have been linked to this Contact by Regarding Filed on Activity entity by using QueryExpression then update them.

    Have a look to :

    What developers need to know about the activity entity 

    How to Update Activity Entity Record When Completed/Canceled Using CRM SDK C#

    Plugins Code loop through child record

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to update existing set of records without coding, when new record is created?

    I'm trying to avoid external solutions, which I can't modify. If there is no OOB functionality, how can I filter and update group of records by coding?

  • Suggested answer
    Drew Poggemann Profile Picture
    Drew Poggemann 4 on at
    RE: How to update existing set of records without coding, when new record is created?

    Hi Ilnur,

    If you have a parent entity and you need to update multiple child entities when something is updated on the parent this is not supported by standard Dynamics 365 / CRM.  I utilize the following to do this in multiple projects:

    github.com/.../Dynamics-365-Workflow-Tools

    Great tool set with multiple workflow utilities including the "Update Child Records" which is what I use to update child entities when a parent is updated.

    Hope this helps!

    Thanks,

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 Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,317 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans