I am trying to implement a durable function with few sequential and parallel activity functions.
Here is my Orchestrator is
[FunctionName("Orchestration")]
public static async Task<List<string>> RunOrchestrator(
[OrchestrationTrigger] IDurableOrchestrationContext context)
{
var outputs = new List<string>();
var data = context.GetInput<OrchestrationInput>();
// Replace "hello" with the name of your Durable Activity Function.
outputs.Add(await context.CallActivityAsync<string>("ConfigMetadata", data.Payload));
outputs.Add(await context.CallActivityAsync<string>("ObjectMetadata", "Seattle"));
outputs.Add(await context.CallActivityAsync<string>("Versioning", "London"));
// returns ["Hello Tokyo!", "Hello Seattle!", "Hello London!"]
return outputs;
}
So initially when I call the http trigger function from postman it got hit obviously, but due to some error I stopped the debugging.
Then whenever I execute (Debug) the function again, above orchestrator function triggers and calling the activity functions without even calling the http trigger.
So I guess its because of some queue in history. So is there is any way to get rid of this issue every time I start the debugging. So when I start it must be a fresh queue.
Please help