Closed ElanHasson closed 3 years ago
Saga properties are available for subsequent activities via the IActivityContext
for example like this.
Right-- That's what I did.
context.SagaProperties
doesn't seem to carry through.
I did a context.SagaProperties.Add()
in Activity A and the context.SagaProperties
is an empty set in activity B.
I just tested this on the .NET 5 samples (dependency injection sample) and it appears to be working.
It's worth noting that the internal existingProperties
collection is the one you want to be checking...
Let me dig deeper and see, will get back to you.
I see them in the list-- My problem was the type was abstract.
In my activities I'm emitting state information into SagaProperties.
How can I access them after/during the saga execution?