Writing Task Activities - Azure/durabletask GitHub Wiki
Task Activities are the โleafโ nodes of an orchestration. This is the code which actually performs a unit of operation within the orchestration. This is plain C# code with no constraints.
Task Activity code is guaranteed to be called at least once. However in error cases it might be invoked multiple times so idempotence is desirable.
Note: In a future version of the framework, users would be able to switch the guarantee to at-most-once instead of at-least-once thus giving them more control in the orchestration code.