Article - CS282235

Timers not working in ThingWorx

Modified: 23-Mar-2018   


Applies To

  • ThingWorx Platform 7.1

Description

  • The Timers don't work anymore, they don't get activated anymore (for example, if their value property changes)
  • Wrong steps that caused the issue:
  1. Create a Thing: test_timer
    • Add the Template: Timer
    • Properties -> Add My Property:
      • Name: test_prop
      • Base Type: Number
      • Persistent checked
      • Logged checked
    • Configuration:
      • Update Rate: 30000
      • Automatically Enable Timer on Startup checked
    • Save
  2. On another thing created previously -> Subscription:
    • Source: Timer
    • Event: DataChange
    • Property: test_prop
    • Snippets -> Script: test_prop = 20;
    • Enabled: true
    • Save
  3. Getting back to test_timer -> Properties -> and refreshing the value of test_prop, it's not refreshing, not even after the time selected in the Updated Rate field
  • Warning in the Application logs:
    • Thing [test_timer] has logged properties but does not have a valid value stream assigned
This is a printer-friendly version of Article 282235 and may be out of date. For the latest version click CS282235