Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ManualTrigger input binding data doesn't work with Scripts (Batch, Bash, etc) #602

Closed
brettsam opened this issue Aug 23, 2016 · 2 comments
Closed
Assignees

Comments

@brettsam
Copy link
Member

I couldn't figure out a way to get data from a manual trigger into any of my script tests. The BindingData appears to be there, but I suspect that because there's no input binding discovered, none of the other actions are taken to pass the data to the script.

@mathewc
Copy link
Member

mathewc commented Aug 23, 2016

Can you give me an example of what doesn't work? I'll look into it today.

@brettsam
Copy link
Member Author

In the portal, set up a Windows Batch function with a Manual Trigger named 'input'. Then try this:

SET /p input=<%input%
echo %input%

If you invoke via the 'Run' button on the portal with some data, you'll get Exception while executing function: Functions.EmptyBatch1. Microsoft.Azure.WebJobs.Script: The syntax of the command is incorrect. Switching to QueueTrigger (for example), works.

@mathewc mathewc self-assigned this Aug 23, 2016
mathewc added a commit that referenced this issue Aug 23, 2016
@mathewc mathewc closed this as completed Aug 23, 2016
@Azure Azure locked as resolved and limited conversation to collaborators Jan 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants