How to delay the execution of "Subscription" in ThingWorx
Applies To
- ThingWorx Platform 7.4
Description
- How to delay the execution of Subscription in ThingWorx
- How to avoid unexpected Alert Event to trigger the Subscriptions
- Take Numeric Alert as example, if the monitored property only creates 1 unexpected out of range record, and then gets back to normal quickly, in some conditions this Alert should not be taken seriously.
- For these alerts, use the Alert Event to trigger a subscription, and then the script could delay for a certain time, use if conditions to re-evaluate the property to see if it is still out of range (triggering the Alert) and then do what is requested.