You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling durableClient.getStatus(<instanceId>, { showHistory: true }), history is not returned on response. While debugging, DurableOrchestarationStatus's constructor does:
// init.history does not exist on init but historyEvents does and contains the history datathis.history=init.history
Investigative information
Durable Functions extension version: 1.16.1
durable-functions npm module version: 3.1.0
Language (JavaScript/TypeScript) and version: typescript 4.9.5
Node.js version: 20.17.0
Additional:
Azure Functions Core Tools: 4.0.5801
Azure Runtime Version: 4.34.1.22669
If deployed to Azure App Service
Timeframe issue observed: N/A
Function App name: N/A
Function name(s): N/A
Region: N/A
Orchestration instance ID(s): N/A
If you don't want to share your Function App name or Functions names on GitHub, please be sure to provide your Invocation ID, Timestamp, and Region - we can use this to look up your Function App/Function. Provide an invocation id per Function. See the Functions Host wiki for more details.
Describe the bug
When calling
durableClient.getStatus(<instanceId>, { showHistory: true })
,history
is not returned on response. While debugging,DurableOrchestarationStatus
's constructor does:Investigative information
Additional:
If deployed to Azure App Service
To Reproduce
GetOrchestrationStatus.ts
(function made on step 5), copy-paste:local.settings.json
:F5
to run and debugGetOrchestrationStatus
http://localhost:7071/api/orchestrators/TestOrchestrator
id
on response)GetOrchestrationStatus
Azure function:http://localhost:7071/api/instances/<id you just copied>
history
key with eventsExpected behavior
A clear and concise description of what you expected to happen.
durableClient.getStatus(instanceId, { showHistory: true })
return value has ahistory
key and data.Actual behavior
A clear and concise description of what actually happened.
durableClient.getStatus(instanceId, { showHistory: true })
return value does not return ahistory
key nor data.Screenshots
If applicable, add screenshots to help explain your problem.
Known workarounds
Provide a description of any known workarounds you used.
Directly modify
node_modules/durable-functions/lib/src/orchestrations/DurableOrchestrationStatus.js
's constructor:Additional context
The text was updated successfully, but these errors were encountered: