Skip to main content

Notifications

Power Apps - Microsoft Dataverse
Answered

How to get the field values of a deleted Entity Record using a flow (triggered by the "When a record is deleted" Event)

(0) ShareShare
ReportReport
Posted on by 156

Hi,

 

I didn't manage to get the field values of an Entity Record (apart from the Record ID ) from a flow triggered by its deletion.

How can I get all its field values ?

 

Thanks

 

Arioule

Categories:
  • EricRegnier Profile Picture
    EricRegnier 8,705 on at
    Re: How to get the field values of a deleted Entity Record using a flow (triggered by the "When a record is deleted" Event)

    I would argue it's more complex with more steps with oData calls and parsing json especially for citizen developers but indeed it's a low code approach is plugins is not an option. Thanks for supplementing @ZdenekSrejber!

  • ZdenekSrejber Profile Picture
    ZdenekSrejber 4 on at
    Re: How to get the field values of a deleted Entity Record using a flow (triggered by the "When a record is deleted" Event)

    Hi everyone,

    I know this is a bit late response, but maybe it can help others who encounter this problem and find this post.

    There is a bit simpler solution than writing plugins and more logic, the only thing you need is to enable audit on the environment and then after the trigger use an action to retrieve the audit logs, you can find more detailed information how to in a blogpost written by my colleague Power Automate Delete Trigger - Missing record values - NETWORG | Blog (thenetw.org)

     

    Hope it helps someone 

  • Re: How to get the field values of a deleted Entity Record using a flow (triggered by the "When a record is deleted" Event)

    It seems like an obvious feature that should be there.

    FWIW the way we handled this was by creating a Workflow to automatically create a new record in another entity, and then use the creation of that record as the trigger for Power Automate.

  • Arioule Profile Picture
    Arioule 156 on at
    Re: How to get the field values of a deleted Entity Record using a flow (triggered by the "When a record is deleted" Event)

    Hi @EricRegnier,

     

    Thanks,

     

    Arioule

  • Verified answer
    EricRegnier Profile Picture
    EricRegnier 8,705 on at
    Re: How to get the field values of a deleted Entity Record using a flow (triggered by the "When a record is deleted" Event)

    Hi @Arioule,

    Quick answer is unfortunately you can't in a Power Automate flow for that event.  You would need to create a plugin on the delete event and register a pre image to the plugin step to reference the field values.

     

    It would be good feature to have, I suggest to submit the idea at: https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

    Hope this helps...

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,495

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,822

Leaderboard

Featured topics