Some content on this site is available only to logged-in subscribers. Contact Us for information on becoming a subscriber.

InSource.Solutions | InSource Training | InSource Client Portal
InSource Solutions Logo
Log In Sign Up
InSource.Solutions InSource Training InSource Client Portal Log In Sign Up
  • Home
  • AVEVA Application Server
  • AVEVA Application Server Tech Notes

TN AppSvr133 Archestra Alarm Client - Changing Default Query at Runtime

Last updated: March 19th, 2025

Description

  • Author: Brian Schneider
  • Published: March 19th, 2025

Details:

Description

Want to change the Alarm Query of an Archestra Alarm Client control, but unable to do this during configuration. This document explains how to do it via script.

  • Author: Dillon Perera
  • Published: 05/29/2015
  • Applies to: Managed InTouch 2012 R2 and higher

Details

The important field to look at is AlarmClient1.QueryFilters.DefaultFilter.FilterCriteria. This is a String and can be displayed to the screen. By default it will hold the string that makes up your default query. For example "(Provider = 'Galaxy' and Group = 'Area_001')".

You can edit this string programmatically to add in additional conditions, such as:

AlarmClient1.QueryFilters.DefaultFilter.FilterCriteria = "(Provider = 'Galaxy' and Group = 'Area_001' and Priority >='50')";

or

AlarmClient1.QueryFilters.DefaultFilter.FilterCriteria = "(Provider = 'Galaxy' and Group = 'Area_001' and Priority >='300' and Priority <='400')";

Once this value is changed, it takes roughly a second before the control will update, but after that point it will use your new query. 

Note: though that this is changing the runtime settings, not the configuration settings. So if InTouch is restarted, the original default query will go back into effect.

In testing, this can also be used when dynamically building the string using user input.

archestra alarm dynamic query
Give feedback about this article

Recommended articles

TN - 1240 Creating a Watchlist Using an Import File

Read More

How to receive group emails

Read More
Support Icon

CONTACT SUPPORT

How to reach us

10800 Midlothian Turnpike Tpke, Suite 209, Richmond, VA 23235

1.877.INSOURCE

Technical Support - 1.888.691.3858

Contact Us

  • InSource Solutions
  • InSource Training
  • InSource Client Portal
  • Log In
InSource Solutions Logo

© 2025 InSource Solutions. All Rights Reserved.

Knowledge Base Software powered by Helpjuice

Expand