# Set Query Filter Value

## Description:

Set Query Filter Value

Use this action to get required record.

e.g. If you want to get the details of one employee, use`Set Query Filter Value` action by selecting view attribute and the name of the employee.

### Allowed Parent Components:

1. Trigger Before Query
2. Trigger Before Query
3. Trigger Before Select Query

### Allowed Child Components:

No child available

### Properties

### ➤ Enable Condition

Specify an expression that should be evaluated to a boolean \[e.g. #{dsAlias.attr1} == 'X' && #{dsAlias.attr2} > 1]. If no expression is specified, it will be considered as true.

Allowed Values: An expression which should return boolean after evaluation

### ➤ Value Expression

Specify an expression that should be evaluated to a string or number depending on the target attribute

Allowed Values: Specify an expression that should be evaluated to a string or number depending on the target attribute

### ➤ Filter Attribute

Select the attribute to filter the data based on the value in the value expression

Allowed Values: Select the attribute to filter the data based on the value in the value expression


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudio.io/ui-components/actions/actionsetqueryfiltervalue.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
