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

Event and mail generation

SOLVED
Highlighted
Level 7

Event and mail generation

Hi All,

I have two properties A and B, now I want to generate an event when property A value is less than B value. Also I need to send an email when this condition happens. How I can achieve this? I am using ThingWorx 8.3 version.
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Event and mail generation

You can do this by using the DataChange event.

You'd have to probably monitor the change in both the A and B values.

Also please be aware, if these values change often, then you might be sending a lot of notifications.

So you might want to either create some logic to prevent that, or resolve this into a Boolean Property that you set to True or False this way you can provide a 'lock in' and then send notification on the true/false toggle

3 REPLIES 3

Re: Event and mail generation

You can do this by using the DataChange event.

You'd have to probably monitor the change in both the A and B values.

Also please be aware, if these values change often, then you might be sending a lot of notifications.

So you might want to either create some logic to prevent that, or resolve this into a Boolean Property that you set to True or False this way you can provide a 'lock in' and then send notification on the true/false toggle

Re: Event and mail generation

Thank you for the reply

Re: Event and mail generation

Hi @adityak506.

 

If you are satisfied with the response provided by @PaiChung, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon