[Rt-devel] Creating Group Saved Searches with dynamic RT variable references?

Stephen Dowdy sdowdy at ucar.edu
Wed Feb 23 14:01:18 EST 2005

I'm using Stephen Turner's "Saved Searches" Mason component on the "Home" page:

and wanted to construct some Group-wide saved searches for shortcut queries.
However, for a query by owner, the Query-Builder form only allows static comparisons
(i.e. selecting "Owner" is "sdowdy" results in " Owner = 'xx' " where 'xx' is the
numeric 'Id' of my user.

I tried using the Advanced builder and typing:

Owner = $session{'CurrentUser'}->Id
but it stripped that to "Owner = 'CurrentUser'"

How would i go about building a Group saved search query that dynamically references the CurrentUser?
(or any variable reference for that matter)

Stephen Dowdy  -  Systems Administrator  -  NCAR/RAP
303.497.2869  -  sdowdy at ucar.edu  -  http://www.rap.ucar.edu/~sdowdy/

More information about the Rt-devel mailing list