Skip to content

Push-OutputBinding not working in ActivityTrigger  #646

@kwill-MSFT

Description

@kwill-MSFT

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.

FunctionsOutputBinding.zip

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions