azure-functions-host icon indicating copy to clipboard operation
azure-functions-host copied to clipboard

Passing input data from Code + Test to durable activity does not work any more

Open ziegler-daniel opened this issue 1 year ago • 0 comments

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

  1. Open a durable activity from a function app in the Azure portal
  2. Navigate to "Code + Test"
  3. Provide e.g. {"requestId": "dbdd220d-8a2e-41ba-862a-3d21a0e8bd92"} as input data
  4. Click "Run"

Screenshot from Code + Test

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

Request details in Application Insights

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!

ziegler-daniel avatar May 10 '24 13:05 ziegler-daniel