Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
We have possibility to creating expression rules in Axeda platform(see more: https://community.ptc.com/t5/IoT-Tech-Tips/Axeda-Expression-Rules/m-p/532448#M815)
Could we create something like this for things in Thingworx platform?
Note that I have a lot of things, so could it possible to set rules only for my thing template and use it in all of my inherited things?
Solved! Go to Solution.
In this case we compare the value with some default value and the subscription will trigger when the condition will be true, but in my case I just need the trigger subscription when my data has changed. I through about using an event + subscription that should help me, but I decided to ask the community if we had a different way that would be better or more perform and more flexible
Yes it is possible to execute customized actions when property values change, and yes, these rules can be created to apply to Thing Shapes, Thing Templates, or individual Things. You do this in 2 steps. First, create an Alert which defines the property, value, and condition to monitor. Second, create a Subscription to your alert that defines the action taken. Here is a guide that walks through how this is done step-by-step:
In this case we compare the value with some default value and the subscription will trigger when the condition will be true, but in my case I just need the trigger subscription when my data has changed. I through about using an event + subscription that should help me, but I decided to ask the community if we had a different way that would be better or more perform and more flexible