Azure / Azure/azure-functions-powershell-worker

Clarify how to set $Context.Input in Durable Functions docs

Open Beginner friendly
#724 0 comments 0 reactions 0 assignees View on GitHub
feature:durable functions
Dominant language
C#
Stars
215
Forks
61
Avg merge
21h 4m
Merged PRs (30d)
6

Description

A customer (from IcM 277661225) followed [this documentation for handling External Events](https://docs.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-external-events?tabs=powershell) and was confused about how to set $Context.Input. We clarified that they would need to set the `-InputObject` parameter when they started an orchestration (example below) in the starter function.

```
$InstanceId = Start-DurableOrchestration -FunctionName $FunctionName -InputObject $Input
```

Adding an example with `-InputObject` in the docs would help customers in the future understand how to pass information between starter and orchestrator functions.

cc: @AnatoliB @davidmrdavid

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked Durable Functions documentation for handling External Events and review the starter-function example. Add an example showing the -InputObject parameter when starting the orchestration, then verify that the example clearly explains how the value becomes $Context.Input in the orchestrator.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
cloud, documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
75/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.