Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Answered

Based on field from one entity, delete a record in separate entity

Posted on by 97

Hello all!

I'm wondering if it is possible to delete a record in one entity based on a field value (toggle - yes/no) in another entity?

Anyone have an idea of how to do this?

Thanks!

  • Cnquest Profile Picture
    Cnquest 97 on at
    RE: Based on field from one entity, delete a record in separate entity

    Hey, thanks you two. This is very helpful.

  • Verified answer
    Bipin D365 Profile Picture
    Bipin D365 28,962 Moderator on at
    RE: Based on field from one entity, delete a record in separate entity

    Hi,

    Yes you can do this with power automate OR plugin.

    You can use List rows to fetch related entity records in power automate.

    Use fetchXml or query expression in plugin

  • Suggested answer
    Abdul Wahab Profile Picture
    Abdul Wahab 12,070 Moderator on at
    RE: Based on field from one entity, delete a record in separate entity

    Hi Cnquest,

    It is possible but we need an architecture where the id of the record which needs to delete exists.

    Thanks

    Regards,

    Abdul Wahab
    Power Platform/Customer Engagement Developer/Lead/Solution Architecture/Project Manager
    Direct/WhatsApp:+923323281237
    E-mail: abdulwahabubit@outlook.com
    Skype: abdul.wahabubit
    Linkedin: www.linkedin.com/.../abdul-wahab-a5b8b011a

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans