---
category: [Administration & Integrations, Platform and Product Extensions, Platform and Product Extensions/Integration, Administration & Integrations/Custom Integrations & Apps]
keyword: [Extend, Workday Query Language, WQL]
nav: wcp_docs
parent_url: /wcp_docs/
title: PARAMETERS
layout: subsection
---

<a id="d595e251"></a>
You can add a PARAMETERS clause at the beginning of a Workday Query Language (WQL) query to specify built-in prompt values for:

-   Data sources.
-   Data source filters.
-   Report fields.


Specify values for report fields in the PARAMETERS clause. You can specify values for data sources and data source filters in the PARAMETERS or FROM clause, but not both.

## <a id="d595e278"></a>Syntax

```
PARAMETERS parameter1 = value1,...parameterN
```

## <a id="d595e293"></a>Arguments

<table><thead><tr><th>Argument</th><th>Description</th></tr></thead><tbody><tr><td><p><code><i>parameter1</i>, <i>parameter2</i>, ...<i>parameterN</i></code></p></td><td><p>The alias for a parameter.</p></td></tr><tr><td><p><code><i>value1</i>, <i>value2</i>, ...<i>valueN</i></code></p></td><td><p>The value of the parameter that you want to query.</p></td></tr></tbody></table><br/>

## <a id="d595e371"></a>Comparison Operators

<table><thead><tr><th><p>Operator</p></th><th><p>Field Data Type Compatibility</p></th><th><p>Description</p></th></tr></thead><tbody><tr><td><p><code>=</code></p></td><td><p>Boolean</p> <p>Date</p> <p>Numeric</p> <p>Text</p></td><td><p>Equal.</p></td></tr></tbody></table><br/>

## <a id="d595e440"></a>Examples

To specify the `reportingDate` parameter for the <b>contractRates</b> field and the `company` parameter for a data source in the PARAMETERS clause:

```
PARAMETERS reportingDate = "2018-01-01", company = cb550da820584750aae8f807882fa79a
SELECT contractRateSheet, contractRates 
FROM contractRateSheetsForCompany
```

To specify the `reportingDate`parameter for the <b>contractRates</b> field in the PARAMETERS clause and the `company` parameter for a data source in the FROM clause:

```
PARAMETERS reportingDate = "2018-01-01" 
SELECT contractRateSheet, contractRates 
FROM contractRateSheetsForCompany(company = cb550da820584750aae8f807882fa79a)
```

To specify the parameters for a data source filter in the PARAMETERS clause:

```
PARAMETERS projectsAndProjectHierarchies = (0c0bbf2e124810a26765415bb08406c5), includeSubordinateProjectHierarchies = true
SELECT projectObject 
FROM projects (dataSourceFilter = projectsByProjectsProjectHierarchiesFilter)
```

## <a id="d595e486"></a>Limitations

-   You can only specify the same parameter once in the query. `PARAMETERS field_1=val1, field1=val2` is invalid.


-   You must specify the `dataSourceFilter` in the FROM clause.


### Related Information

[FROM](/wcp_docs/GUID-608ff22c-1931-4c40-9a95-6bd0751133fe-enHYPHENus.html)

