Replies: 1 comment 1 reply
-
hello, thanks for this helpful guide. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you are using Power Automate Flow with MS Dataverse Delete trigger and trying to find a way to retrieve attributes value from a deleted record, you are in the right place!
ISSUE DESCRIPTION
MS Dataverse Delete trigger is triggered post action. That means that record values are already missing from the database when trigger is triggered. Therefore, if you want to reuse some value that was part of that record, you will not be able to.
HOW TO DO IT
REQUIREMENTS
IMPLEMENTATION
/audits?$filter=_objectid_value eq '{{ DELETED_RECORD_ID }}'&$orderby=createdon desc&$top=1
changedata
attributechangedata
value is stringified JSON object which will containchangedAttributes
arrayoldValue
object key value ofchangedAttributes
arrayHope this helps.
KUDOS to @zdeneksrejber
Beta Was this translation helpful? Give feedback.
All reactions