I want to get deleted row fields with power automate but it seems its not possible unless we use plugin.
I have a child entity (lets say project) on parent entity (lets say Store) . I want to update the field on parent entity( field name is projectexits) to NO when no child record is assoicated with parent entity or every child entity is deleted
I know it can be achieved with plugin preimage as I am new to dynamics , Can you please share me apporach for it ? Please let me know if otherway is also possible , I tied using Calculated filed but its not possible on 1:N relationship
Hi,
Check below article for delete plugin prevalidation stage
You can write something similar to that and check the count of project record excluding the current record then update your field on parent entity
Hi Bipin,
Thanks for ur suggestion we cannot use roll up field for some reason so we need to use the plugin only, any suggestion or sample code
Hi,
Have you tried creating rollup field to store the count of project records?
learn.microsoft.com/.../define-rollup-fields
Now use Business rule to set your custom field is Project exist to yes when count >0 else set No
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156