@@ -70,9 +70,9 @@ public Task<string> ScheduleNewWorkflowAsync(
70
70
/// <param name="instanceId">The unique ID of the workflow instance to fetch.</param>
71
71
/// <param name="getInputsAndOutputs">
72
72
/// Specify <c>true</c> to fetch the workflow instance's inputs, outputs, and custom status, or <c>false</c> to
73
- /// omit them. Defaults to false .
73
+ /// omit them. Defaults to true .
74
74
/// </param>
75
- public async Task < WorkflowState > GetWorkflowStateAsync ( string instanceId , bool getInputsAndOutputs = false )
75
+ public async Task < WorkflowState > GetWorkflowStateAsync ( string instanceId , bool getInputsAndOutputs = true )
76
76
{
77
77
OrchestrationMetadata ? metadata = await this . innerClient . GetInstancesAsync (
78
78
instanceId ,
@@ -94,7 +94,7 @@ public async Task<WorkflowState> GetWorkflowStateAsync(string instanceId, bool g
94
94
/// <param name="instanceId">The unique ID of the workflow instance to wait for.</param>
95
95
/// <param name="getInputsAndOutputs">
96
96
/// Specify <c>true</c> to fetch the workflow instance's inputs, outputs, and custom status, or <c>false</c> to
97
- /// omit them. The default value is <c>false</c> to minimize the network bandwidth, serialization, and memory costs
97
+ /// omit them. Setting this value to <c>false</c> can help minimize the network bandwidth, serialization, and memory costs
98
98
/// associated with fetching the instance metadata.
99
99
/// </param>
100
100
/// <param name="cancellation">A <see cref="CancellationToken"/> that can be used to cancel the wait operation.</param>
@@ -104,7 +104,7 @@ public async Task<WorkflowState> GetWorkflowStateAsync(string instanceId, bool g
104
104
/// </returns>
105
105
public async Task < WorkflowState > WaitForWorkflowStartAsync (
106
106
string instanceId ,
107
- bool getInputsAndOutputs = false ,
107
+ bool getInputsAndOutputs = true ,
108
108
CancellationToken cancellation = default )
109
109
{
110
110
OrchestrationMetadata metadata = await this . innerClient . WaitForInstanceStartAsync (
@@ -135,7 +135,7 @@ public async Task<WorkflowState> WaitForWorkflowStartAsync(
135
135
/// <inheritdoc cref="WaitForWorkflowStartAsync(string, bool, CancellationToken)"/>
136
136
public async Task < WorkflowState > WaitForWorkflowCompletionAsync (
137
137
string instanceId ,
138
- bool getInputsAndOutputs = false ,
138
+ bool getInputsAndOutputs = true ,
139
139
CancellationToken cancellation = default )
140
140
{
141
141
OrchestrationMetadata metadata = await this . innerClient . WaitForInstanceCompletionAsync (
@@ -218,7 +218,7 @@ public Task RaiseEventAsync(
218
218
object ? eventPayload = null ,
219
219
CancellationToken cancellation = default )
220
220
{
221
- return this . innerClient . RaiseEventAsync ( instanceId , eventName , cancellation ) ;
221
+ return this . innerClient . RaiseEventAsync ( instanceId , eventName , eventPayload , cancellation ) ;
222
222
}
223
223
224
224
/// <summary>
0 commit comments