cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

alert vs event?

jshah-3
1-Visitor

alert vs event?

I recently started with alert and event part of thingwork

I have few doubts?

1)what is the difference between alert an event ?

2)alert and event have a subscription associated with them

the alert subscription is called each time alert condition is met

but for event subscription you need to call the event in the service

so can I make the event also run each time a particular condition meets?

3)I used AddEventDefination() method but it does not show the Event in my Thing event tab then I  tested GetEventDefinations() method , the output showed the event I had created

but as soon as I save the thing and then again run GetEventDefinations() the event that I had created does not exists

don't know why?

1 REPLY 1
PaiChung
22-Sapphire I
(To:jshah-3)

Alerts and Data Events are almost the same.

However something that you are experiencing.

With Alerts you can set up persisting ones, that isn't possible I believe for events/subscriptions in runtime.

Alerts basically was born from data change to give an easier way for users to create condition based event triggers.

of course it also ties into an alert log and history

Announcements


Top Tags