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

Problem with Services and Event

ToanNH14
2-Guest

Problem with Services and Event

Hi all!

I'm a Dummy, so when i learn how to use thingworx i have some problem.

They are:

1. how can i bind  a custom services to a button widget on a mush up!

2. stopping a timer events and set a custom timestamp for its;

3. How can i trigger an event on other event;

4. Interacting two things's properties in a subscription or a service.

Thank you! 

1 ACCEPTED SOLUTION

Accepted Solutions

A quick review of the ThingWorx Pub/Sub model:

An Event is a custom-defined message usually used as a Thing publishing the Event when the value of a property changes. Events can be published on other triggers.

A Subscription listens for a specific Event, then executes the Subscription's Javascript code. 

An Alert is a quick way to define both an Event and the logic for when the Event is published.

 

A good place to understand how the pieces fit together is this guide:

https://developer.thingworx.com/resources/guides/thingworx-foundation-quickstart

 

This guide covers a more complicated example:

https://developer.thingworx.com/resources/guides/data-model-business-logic-guide

View solution in original post

1 REPLY 1

A quick review of the ThingWorx Pub/Sub model:

An Event is a custom-defined message usually used as a Thing publishing the Event when the value of a property changes. Events can be published on other triggers.

A Subscription listens for a specific Event, then executes the Subscription's Javascript code. 

An Alert is a quick way to define both an Event and the logic for when the Event is published.

 

A good place to understand how the pieces fit together is this guide:

https://developer.thingworx.com/resources/guides/thingworx-foundation-quickstart

 

This guide covers a more complicated example:

https://developer.thingworx.com/resources/guides/data-model-business-logic-guide

Top Tags