Closed kaibocai closed 1 year ago
resolves 138
CHANGELOG.md
Additional PR information
For a sample orchestration function
@FunctionName("EternalOrchestrator") public void startWorkflowSchedule(@DurableOrchestrationTrigger(name = "runtimeState") TaskOrchestrationContext ctx) { LOGGER.info("Doing something in the cleanup loop"); ctx.createTimer(Duration.ofSeconds(60)).await(); ctx.continueAsNew(null); }
The invocation process complete twice:
ctx.complete(null)
isCompleted
Update the condition check at 2 to avoid repeating complete.
complete
Issue describing the changes in this PR
resolves 138
Pull request checklist
CHANGELOG.md
Additional information
Additional PR information
For a sample orchestration function
The invocation process complete twice:
ctx.complete(null)
isCompleted
flag is already set to true at the first complete.Update the condition check at 2 to avoid repeating
complete
.