# WorkflowResumeRequest

> 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.workflowresumerequest/
> Summary: WorkflowResumeRequest: The information needed to resume a workflow from a checkpoint.

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

The information needed to resume a workflow from a checkpoint.

```csharp
public sealed record WorkflowResumeRequest : IEquatable<WorkflowResumeRequest>
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.workflowresumerequest/">WorkflowResumeRequest</a></dd><dt>Implements</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable&lt;WorkflowResumeRequest&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_WorkflowResumeRequest__ctor"></a> WorkflowResumeRequest\(\)

```csharp
public WorkflowResumeRequest()
```

## Properties

### <a id="Tracon_WorkflowResumeRequest_CheckpointId"></a> CheckpointId

The identifier of the checkpoint to resume from. If left empty, that
run's *most recent* checkpoint is used.

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

 [string](https://learn.microsoft.com/dotnet/api/system.string)?

### <a id="Tracon_WorkflowResumeRequest_DefinitionVersion"></a> DefinitionVersion

The version of the workflow's stored definition to resume with.
[null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) (the default) resumes with the version the source run
recorded, so an edit made while the run waited does not change what resumes.

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

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

A source run that recorded no version (it predates version recording, or the
workflow is defined in code) resumes with the current definition. A version the
workflow does not have is refused with a [TraconException](/api/tracon.traconexception/) before any run row is
opened; the run never falls back to the current definition.

Naming a version whose graph differs from the one the checkpoint was written
with fails the run with "the graph's structure differs": the checkpoint belongs
to the graph it was written from. That is how an operator carries a run over a
fix, when the fix did not change the structure.

### <a id="Tracon_WorkflowResumeRequest_NewRunId"></a> NewRunId

The new run's identifier. If given, the record is opened with this identifier.

```csharp
public Guid? NewRunId { get; init; }
```

#### Property Value

 [Guid](https://learn.microsoft.com/dotnet/api/system.guid)?

### <a id="Tracon_WorkflowResumeRequest_RunId"></a> RunId

The identifier of the run to resume.

```csharp
public required Guid RunId { get; init; }
```

#### Property Value

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

### <a id="Tracon_WorkflowResumeRequest_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_WorkflowResumeRequest_Equals_Tracon_WorkflowResumeRequest_"></a> Equals\(WorkflowResumeRequest?\)

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

`other` [WorkflowResumeRequest](/api/tracon.workflowresumerequest/)?

#### Returns

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

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

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

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

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

### <a id="Tracon_WorkflowResumeRequest_op_Equality_Tracon_WorkflowResumeRequest_Tracon_WorkflowResumeRequest_"></a> operator ==\(WorkflowResumeRequest?, WorkflowResumeRequest?\)

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

`left` [WorkflowResumeRequest](/api/tracon.workflowresumerequest/)?

`right` [WorkflowResumeRequest](/api/tracon.workflowresumerequest/)?

#### Returns

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

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

`left` [WorkflowResumeRequest](/api/tracon.workflowresumerequest/)?

`right` [WorkflowResumeRequest](/api/tracon.workflowresumerequest/)?

#### Returns

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