0
votes

I have some functionality in an azure durable function that requires the use of generic params. Since activity triggers don't support the use of generic params, I wrote the function as a non-async static method and called it directly from the orchestrator. I am not receiving an error, but I am seeing the warning Activity function named [myMethodName] does not exist. Did you mean [someActivityFunction]?

Does this imply that I should not call my static method from the orchestrator?

If I cannot use code isn't an activity trigger, how can I call a generic method within my durable function?

1

1 Answers

0
votes

As per documentation here, Orchestrators either call Sub Orchestrators or ActivityTriggers, my workaround is have the other logicI wanted to perform inside an ActivityTrigger then use it from the Main Orchestrator.