Skip to content

.NET Workflows Shared State bug or documentation issue #2380

@andrew-brown10

Description

@andrew-brown10

I have a very simple workflow that runs 5 executors in sequential order.

In Executor A I am writing a string to the state

await context.QueueStateUpdateAsync("Response", blanketResponse, cancellationToken);

I am attempting to retrieve this value from the state in subsequent executors

var finalResponse = await context.ReadStateAsync<string>("Response", cancellationToken);

But this value is coming back as null in every executor


According to the documentation :

Image

When I examine the Run object produced by the workflow it shows that each executor is being executed in separate SuperSteps, so it seems to me that the value should be present in the state.

I would like some insight on this problem please...thank you!

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions