-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Azure/azure-functions-java-worker
#711Labels
azure-functionsThis issue is specific to Azure FunctionsThis issue is specific to Azure FunctionsbugSomething isn't workingSomething isn't working
Milestone
Description
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.
ChrisRomp
Metadata
Metadata
Assignees
Labels
azure-functionsThis issue is specific to Azure FunctionsThis issue is specific to Azure FunctionsbugSomething isn't workingSomething isn't working