File tree Expand file tree Collapse file tree
Functions.Templates/Templates
DurableFunctionsHttpStart-PowerShell-1.x
DurableFunctionsHttpStart-PowerShell-2.x
DurableFunctionsOrchestrator-PowerShell-1.x
DurableFunctionsOrchestrator-PowerShell-2.x Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ using namespace System.Net
33param ($Request , $TriggerMetadata )
44
55$FunctionName = $Request.Params.FunctionName
6- $InstanceId = Start-NewOrchestration - FunctionName $FunctionName
6+ $InstanceId = Start-DurableOrchestration - FunctionName $FunctionName
77Write-Host " Started orchestration with ID = '$InstanceId '"
88
9- $Response = New-OrchestrationCheckStatusResponse - Request $Request - InstanceId $InstanceId
9+ $Response = New-DurableOrchestrationCheckStatusResponse - Request $Request - InstanceId $InstanceId
1010Push-OutputBinding - Name Response - Value $Response
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ using namespace System.Net
33param ($Request , $TriggerMetadata )
44
55$FunctionName = $Request.Params.FunctionName
6- $InstanceId = Start-NewOrchestration - FunctionName $FunctionName
6+ $InstanceId = Start-DurableOrchestration - FunctionName $FunctionName
77Write-Host " Started orchestration with ID = '$InstanceId '"
88
9- $Response = New-OrchestrationCheckStatusResponse - Request $Request - InstanceId $InstanceId
9+ $Response = New-DurableOrchestrationCheckStatusResponse - Request $Request - InstanceId $InstanceId
1010Push-OutputBinding - Name Response - Value $Response
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ param($Context)
22
33$output = @ ()
44
5- $output += Invoke-ActivityFunction - FunctionName ' Hello' - Input ' Tokyo'
6- $output += Invoke-ActivityFunction - FunctionName ' Hello' - Input ' Seattle'
7- $output += Invoke-ActivityFunction - FunctionName ' Hello' - Input ' London'
5+ $output += Invoke-DurableActivity - FunctionName ' Hello' - Input ' Tokyo'
6+ $output += Invoke-DurableActivity - FunctionName ' Hello' - Input ' Seattle'
7+ $output += Invoke-DurableActivity - FunctionName ' Hello' - Input ' London'
88
99$output
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ param($Context)
22
33$output = @ ()
44
5- $output += Invoke-ActivityFunction - FunctionName ' Hello' - Input ' Tokyo'
6- $output += Invoke-ActivityFunction - FunctionName ' Hello' - Input ' Seattle'
7- $output += Invoke-ActivityFunction - FunctionName ' Hello' - Input ' London'
5+ $output += Invoke-DurableActivity - FunctionName ' Hello' - Input ' Tokyo'
6+ $output += Invoke-DurableActivity - FunctionName ' Hello' - Input ' Seattle'
7+ $output += Invoke-DurableActivity - FunctionName ' Hello' - Input ' London'
88
99$output
You can’t perform that action at this time.
0 commit comments