I have the Case Timeline showing on the Case form and on a child record form. So, the Case has a control and the child record has a control showing the same records. If a User pins a record through the Case timeline control it does not appear pinned on the child timeline an if it is pinned on the child control is not pinned in the Case control automatically I created a power automate that does this on create of an msdyn_timelinepin record.
The problem is the delete. When a record is deleted in the table Power Automate runs, but the only data available is the GUID of the msdyn_timelinepin record deleted. Which is of no use because I need the GUID of the record that was pinned, msdyn_pinnedrecordid. I tried using an old fashioned workflow to fire when an msdyn_timelinepin record is deleted, but the workflow never runs.
Is there any way for Power Automate to show the entire record contents of a record being deleted?
Running ondelete in PA is a bit of a contradiction unfortunately.
The record no longer exists and we can't get any data from it once the Flow runs.
I usually use plugins running onprevalidation when doing anything ondelete, since in this case the object still exists at that point in time.
The plugin, in this situation, would do exactly what you expect: get the details of whatever it is that should be deleted, then get anything else and do smart stuff. Beware of deleting recursively though, you may need to add a stop to not loop infinitly between your records.
Was this reply helpful?YesNo
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.