poIQueryExpressionRule GetExpression

Gets the query expression rule type from the advanced query.

Syntax

rule_handle GetExpression

Application

HyperView Tcl Query

Description

This command is used to get the expression query rule from the advanced query.

Example

To get the expression query rule from the advanced query:
hwi OpenStack
hwi GetActiveClientHandle client
set ruleID [client AddQueryRule expression]
client GetQueryRuleHandle rule_handle $ruleID
rule_handle SetExpression “<= 200”
rule_handle GetExpression
hwi CloseStack

Errors

This command returns HW_InvalidHandle, if the core object associated with the advanced query handle does not exist anymore.