# How to synchronize entities which meet specific conditions in TFS/Azure DevOps?

### Description

There are the use cases where only a few of the entities that meet a specific condition need to be synchronized instead of all of the entities. <code class="expression">space.vars.SITENAME</code> provides this type of synchronization for TFS/Azure DevOps.

### Solution

Sometimes there are scenarios in which you want to synchronize a few of the entities that meet a specific condition, for example user wants to synchronize entities that contain priority "1". This type of synchronization is possible by <code class="expression">space.vars.SITENAME</code> using Criteria Filter. Refer [Criteria Configuration](/opstech-docs/7.223/integrate/configure-integrations/integration-configuration.md#criteria-configuration) section to learn about how to configure criteria during integration configuration. Refer [Criteria Configuration](/opstech-docs/7.223/connectors/azure-devops.md#criteria-configuration) section of Team Foundation Server (TFS) to learn about the syntax of the criteria query while configuring criteria for TFS/Azure DevOps integration.


---

# 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://opstech.gitbook.io/opstech-docs/7.223/help-center-index/faqs/tfs-faqs/criteria.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.
