Activity function overloading #2288
-
We are noticing intermittent failures with overloaded activities, even if these activities are in different orchestrators. In our implementation, we have two activities with same function name and they take different input object type. Error log:
I am suspecting this might be caused because of implementation where in our orchestration code, we call activities this way: Please help us confirming this theory! Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
AFAIK Azure Functions doesn't support multiple functions with the same name, regardless of whether they are activity functions or something else. That makes me think that there might be some misunderstanding about what's actually happening. If I'm reading this correctly, the difference between those two lines you shared is |
Beta Was this translation helpful? Give feedback.
AFAIK Azure Functions doesn't support multiple functions with the same name, regardless of whether they are activity functions or something else. That makes me think that there might be some misunderstanding about what's actually happening.
If I'm reading this correctly, the difference between those two lines you shared is
nameof(GetTrainingEventContentActivity)
vs.nameof(this.GetTrainingEventContentActivity)
. However, both expressions should get compiled down to "GetTrainingEventContentActivity". You can see an example here: https://dotnetfiddle.net/IAFXto.