We have an eternal orchestrator function in our durable function app. This orchestrator function doesn’t need to return anything. However, with the void return type, the orchestrator function is failing.
Error:
System.InvalidOperationException: The function invocation resulted in a null response. This means that either the orchestrator function was implemented incorrectly, the Durable Task language SDK was implemented incorrectly, or that the destination language worker is not sending the function result back to the host.
Function Code:
@FunctionName('EternalOrchestrator')
public void startWorkflowSchedule(@DurableOrchestrationTrigger(name = 'ctx') TaskOrchestrationContext ctx) {
LOGGER.info('Hello World');
ctx.createTimer(Duration.ofSeconds(10)).await();
ctx.continueAsNew(null);
}
Function App Name: possmartpolling-java
Instance Id: testeternal123
Please let me know if any other details are required.
We have an eternal orchestrator function in our durable function app. This orchestrator function doesn’t need to return anything. However, with the
voidreturn type, the orchestrator function is failing.Error:
System.InvalidOperationException: The function invocation resulted in a null response. This means that either the orchestrator function was implemented incorrectly, the Durable Task language SDK was implemented incorrectly, or that the destination language worker is not sending the function result back to the host.
Function Code:
Function App Name:
possmartpolling-javaInstance Id:
testeternal123Please let me know if any other details are required.