# WorkflowRequestQuery

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/api/tracon.workflowrequestquery/
> Summary: WorkflowRequestQuery: The filter and the page of a listing of a tenant's open human requests.

<div class="api-provenance">Namespace Tracon · Assembly <code>Tracon.Abstractions.dll</code></div>

The filter and the page of a listing of a tenant's open human requests.

```csharp
public sealed record WorkflowRequestQuery : IEquatable<WorkflowRequestQuery>
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.workflowrequestquery/">WorkflowRequestQuery</a></dd><dt>Implements</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable&lt;WorkflowRequestQuery&gt;</a></dd><dt>Inherited Members</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a></dd></dl>

## Constructors

### <a id="Tracon_WorkflowRequestQuery__ctor"></a> WorkflowRequestQuery\(\)

```csharp
public WorkflowRequestQuery()
```

## Fields

### <a id="Tracon_WorkflowRequestQuery_MaxTake"></a> MaxTake

The largest [WorkflowRequestQuery.Take](/api/tracon.workflowrequestquery/#Tracon_WorkflowRequestQuery_Take) a listing honors.

```csharp
public const int MaxTake = 200
```

#### Field Value

 [int](https://learn.microsoft.com/dotnet/api/system.int32)

## Properties

### <a id="Tracon_WorkflowRequestQuery_Skip"></a> Skip

Gets how many requests to skip. A negative value counts as zero.

```csharp
public int Skip { get; init; }
```

#### Property Value

 [int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="Tracon_WorkflowRequestQuery_State"></a> State

Gets which requests to list. Defaults to [WorkflowRequestState.Pending](/api/tracon.workflowrequeststate/).

```csharp
public WorkflowRequestState State { get; init; }
```

#### Property Value

 [WorkflowRequestState](/api/tracon.workflowrequeststate/)

### <a id="Tracon_WorkflowRequestQuery_Take"></a> Take

Gets how many requests to return, from 1 to [WorkflowRequestQuery.MaxTake](/api/tracon.workflowrequestquery/#Tracon_WorkflowRequestQuery_MaxTake); a value outside the
range is cut to it. Defaults to 50.

```csharp
public int Take { get; init; }
```

#### Property Value

 [int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="Tracon_WorkflowRequestQuery_WorkflowName"></a> WorkflowName

Gets the workflow name to list; [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) lists every workflow.

```csharp
public string? WorkflowName { get; init; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)?

## Methods

### <a id="Tracon_WorkflowRequestQuery_Equals_System_Object_"></a> Equals\(object?\)

```csharp
public override bool Equals(object? obj)
```

#### Parameters

`obj` [object](https://learn.microsoft.com/dotnet/api/system.object)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_WorkflowRequestQuery_Equals_Tracon_WorkflowRequestQuery_"></a> Equals\(WorkflowRequestQuery?\)

```csharp
public bool Equals(WorkflowRequestQuery? other)
```

#### Parameters

`other` [WorkflowRequestQuery](/api/tracon.workflowrequestquery/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_WorkflowRequestQuery_GetHashCode"></a> GetHashCode\(\)

```csharp
public override int GetHashCode()
```

#### Returns

 [int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="Tracon_WorkflowRequestQuery_ToString"></a> ToString\(\)

```csharp
public override string ToString()
```

#### Returns

 [string](https://learn.microsoft.com/dotnet/api/system.string)

## Operators

### <a id="Tracon_WorkflowRequestQuery_op_Equality_Tracon_WorkflowRequestQuery_Tracon_WorkflowRequestQuery_"></a> operator ==\(WorkflowRequestQuery?, WorkflowRequestQuery?\)

```csharp
public static bool operator ==(WorkflowRequestQuery? left, WorkflowRequestQuery? right)
```

#### Parameters

`left` [WorkflowRequestQuery](/api/tracon.workflowrequestquery/)?

`right` [WorkflowRequestQuery](/api/tracon.workflowrequestquery/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_WorkflowRequestQuery_op_Inequality_Tracon_WorkflowRequestQuery_Tracon_WorkflowRequestQuery_"></a> operator \!=\(WorkflowRequestQuery?, WorkflowRequestQuery?\)

```csharp
public static bool operator !=(WorkflowRequestQuery? left, WorkflowRequestQuery? right)
```

#### Parameters

`left` [WorkflowRequestQuery](/api/tracon.workflowrequestquery/)?

`right` [WorkflowRequestQuery](/api/tracon.workflowrequestquery/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)
