In our integration we are sending an “alert” to Milestone. we create an Alarm object in our plugin and send it to the Milestone system. This allows our plugin to display the details of the “alert”, in addition to allowing the alarm to appear in the Alarm Monitor pane of the Smart Client.
It is our understanding that end-users do not setup workflows in response to Alarms, but rather in response to Events. As we are creating Alarm objects for the system, there is nothing for the end-users to attach a workflow to. If we create an Event in addition to our Alarm, our existing functionality would remain unchanged and users would then be able to create Rules to respond to our Events.
Is this a proper understanding of the designed workflow? Should we be creating only Events and using those to trigger Alarms?
Is it possible to create user-defined events programmatically via the SDK?
Is it possible to suppress the user-defined event from appearing inside the Smart Client Alarm Manager? (We don’t want the user to see both our “Alarm” and the user-defined event)
The Smart Client Alarm Manager can be configured to show events instead of alarms but never show both.
If this does not fit your observations I might not have understood the situation, maybe you can illustrate your observations with a screen capture or something similar and add details on how you trigger the event that match an alarm definition and thus makes an alarm.
private void createUserDefEvent()
{
var ms = new VideoOS.Platform.ConfigurationItems.ManagementServer(EnvironmentManager.Instance.MasterSite);
var udefolder = ms.UserDefinedEventFolder;
udefolder.AddUserDefinedEvent("testingwithConfig");
}
-
I am telling you there is no way to get SC Alarm Manager to show both Events and Alarms, so clearly there is something different, please illustrate what you have..