Skip to main content
1-Visitor
September 20, 2016
Question

How to generate alerts on the combination of values of 2 properties.

I have 2 properties and I want that when the value of both these values cross a threshold value then only a alert should be generated and not just on one property.

9 replies

1-Visitor
September 20, 2016

Make a service that will check values of both properties and if both of them are above threshold , return true which you can be saved on another  Boolean property .

Generate an alert when this Boolean property is true.

Let me know if you find this useful.

Translate
1-Visitor
September 20, 2016

You can create a subscription to value change on one of the properties or both, and there check the threshold, once detected the alert you can throw it by hand through a service, or build you own alerts system.

Translate
psaxena1-VisitorAuthor
1-Visitor
September 20, 2016

How to generate an alert through a service, because there is no snippet as to generate an alert.

Translate
1-Visitor
September 20, 2016

me.AddOrUpdateAlert

Translate