Deletion of elements, notifications, and analyses
- Last UpdatedMay 21, 2025
- 1 minute read
- PI System
- PI Server 2018
- PI Server
When you an element is deleted, any notifications and analyses that target the element are also deleted. If you want to repurpose a notification that is attached to an element, make sure to save the notification before deleting the element.
How to keep notifications and analyses from deletion
To prevent any notifications and analyses from getting deleted when the targeted element is deleted, use the AF Diagnostics (afdiag) utility to run the following command:
Code example
afdiag /EnablePropagationOfTargetDeletion-
See AFDiag utility parameters.
Be aware that disabling this setting can cause the following problems:
-
Notifications are left open (and remain active)
-
New notifications are not created
-
Expected emails are not sent