Article - CS268623
How to delay the execution of "Subscription" in ThingWorx
Modified: 26-Mar-2020
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.
This is a printer-friendly version of Article 268623 and may be out of date. For the latest version click CS268623