Skip to main content
1-Visitor
July 27, 2017
Question

How to bind alert in mashup?

  • July 27, 2017
  • 5 replies
  • 3589 views

Hey,

I have 12 things (same template) with 5 properties. Every property have a "OutOfRange"-alert with different thresholds.

All things are in the same mashup. End everything is cool.

Now I want change the text color of a property value if it is out of range.

How can I bind alerts in mashup? Which service can show me is a value is out of range (or other alert)?

5 replies

5-Regular Member
July 27, 2017

Hi David, have you already tested the alert service available with the template which you are using. With the above description it appears you can use GetAlertStatus or GetAlertStatuses

drichter1-VisitorAuthor
1-Visitor
July 28, 2017

Hmm, I have only:

  • GetAlertDefinition
  • GetAlertDefinitions
  • GetAlertSummary
  • GetAlertSummaryForProperty


Maybe this services come with a thingworx version > 7.

5-Regular Member
July 28, 2017

David, the services differ depending on what sort of Template you are using. The screenshot from my reply is from the RemoteThing Template. What sort of Template are you working with? And which version of ThingWorx?

1-Visitor
April 13, 2018

with the help of the services like 

  • GetAlertSummaryyou will be able to show in a mashup with the help of grid widgetAnd for coloring, you need to use one of  the state definition which you need to customize for the parameter on which you want to change the state by color.