Open ann-shakun opened 2 years ago
@sfmskywalker, I was looking into the source code and it seems like I found the reason of NRE.
In my scenario container.Parent
returned from GetCompositeName()
is always null
because A0
is inherited from CompositeActivity
. Also valid for nested composite activities. So, instead of activity-1:A1
it returns A1
. But I don't understand how to distinguish between named activity declared inside CompositeActivity
and a CompositeActivity
itself, because in both cases Parent
is null.
Hi @ann-shakun , thanks for reporting this and the details you provided. We'll try and get this fixed for 2.5.1.
Hi!
When using
CompositeActivity
it seems it's not possible to access activity output by callingGetNamedActivityPropertyAsync()
. If you moveA1
andA2
to the parent workflow, it works as expected. Am I missing something?Reproduced in 2.4.1 and 2.5.0-preview.4.
Logs: