-
Notifications
You must be signed in to change notification settings - Fork 54
Closed
Description
Using the standard VSCode function creation templates, I created an orchestrator with an activity function defined as:
function.json
{
"bindings": [{
"name": "name",
"type": "activityTrigger",
"direction": "in"
},
{
"type": "queue",
"direction": "out",
"name": "outputQueueItem",
"queueName": "outqueue",
"connection": "AzureWebJobsStorage"
}
]
}
run.ps1
param($name)
Write-Information "Pushing to outputQueueItem output binding"
Push-OutputBinding -Name outputQueueItem -Value "Queue item from Hello1"
Write-Information "Done"
"Hello $name!"
The Write-Information lines get logged, but no queue item is created. The same Push-OutputBinding works fine from other triggers such as an httpTrigger.
Repro attached.
- Queue item gets generated correctly when running http://localhost:7071/api/HttpTrigger1
- Queue item is not generated when running http://localhost:7071/api/orchestrators/DurableFunctionsOrchestrator1