azure-functions-host
azure-functions-host copied to clipboard
Passing input data from Code + Test to durable activity does not work any more
It is not possible any more to pass input data to a durable activity from Code + Test in the Azure portal. The input data is now nested inside of an http request object. In the past (March this year), passing input to the durable orchestration from Code + Test worked fine.
Investigative information
- Timestamp: 2024-05-10T12:55:53Z
- Function App version: azurefunctions: 4.34.1.1
- Invocation ID: 0114fc85-990f-47a0-ba65-c6100e75cd9b
- Region: West Europe
Repro steps
- Open a durable activity from a function app in the Azure portal
- Navigate to "Code + Test"
- Provide e.g.
{"requestId": "dbdd220d-8a2e-41ba-862a-3d21a0e8bd92"}as input data - Click "Run"
Expected behavior
The durable activity should be started with {"requestId": "dbdd220d-8a2e-41ba-862a-3d21a0e8bd92"} as input in context.bindingData.workflowData
Actual behavior
The durable activity received {"body":"{\n \"test\": 42\n}","headers":[],"method":"post","queryStringParams":[]} as input in context.bindingData.workflowData
Known workarounds
None
Related information
- Calling the durable activity programmatically from a durable orchestration works fine
- In the past (March this year), passing input to the durable orchestration from Code + Test worked fine
Provide any related information
- Programming language used: JavaScript
Thanks in advance!