Expression Rules

Alarm state change notification

January 23, 2012
Anyone have a good solution for sending a notification, to the same group that received the initial alarm notification, for when the alarm state changes.

Reevaluating data items

August 15, 2011
  In case anyone is already using or plans to use the reevaluate function in the expression rules, here is some advise that I have learned from my trials.

Using Groovy Custom Objects on the Axeda Platform

Custom objects on the Axeda Platform use Groovy to consume external web services by building on several powerful tools. Groovy on the Platform gives the developer the freedom to spend time building the meaningful parts of the app, rather than on the mechanics of moving data.

Expression Rules, Rule Timers, State Machine and Custom Objects

The purpose of this article is to describe how Expression Rules, Rule Timers, State Machine and Custom Objects interact.  We'll focus on the interaction between these platform features, rather than describing them in detail.  Details can be found in other articles: Expression Rules Rule...

Groovy Script: Checking alarm history

Here's an example Groovy script that you can call from an Expression Rule which retrieves the history of a particular alarm.

Groovy Script: user object

When an Expression Rule of type UserLogin or UserLogout calls a Groovy script, the script is provided with the implicit object 'user'. This example shows how the user object can be used.

Groovy's Implicit Objects

When an Expression Rule calls a Groovy Script, the Groovy Script may be passed an implicit object, depending on the type of Expression Rule. This article provides a summary of the implicit objects which may be provided, and pointers to more detailed examples.

Groovy Script: alarm Object

When an Expression Rule of type Alarm, AlarmExtendedDataChange, AlarmSeverityChange or AlarmStateChange calls a Groovy script, the script is provided with the implicit object 'alarm'. This example shows how the alarm object can be used.

Groovy Script: mobileLocation object

When an Expression Rule of type MobileLocation calls a Groovy script, the script is provided with the implicit object 'mobileLocation'. This example shows how the mobileLocation object can be used.

Groovy Script: handling uploaded files

When an Expression Rule of type File calls a Groovy script, the script is provided with the implicit object 'compressedFile'. This example shows how the compressedFile object can be used.