I am writing a report to list the notifications set up on our system and who is subscribed to them.
It would also be useful to include the trigger set up for the notification. Would anyone have a sample for doing this?
Thanks for posting on PI Square. Have you seen this post by Mike? Configure a Notification via AF SDK
Thank you for the reply Keith.
I hadn't seen that post but it looks like it is more about creating a notification rather than getting the trigger conditions on an existing one.
There's really only one property on AFNotificationRule that tells you anything about the trigger conditions and that's "Criteria". If the criteria refers to an analysis, then you've got to look at the associated AFAnalysis object configuration for the conditions.
Retrieving data ...