Skip to content

Commit b84d8c4

Browse files
Replace Start-NewOrchestration with Start-DurableOrchestration
1 parent 6ae1cac commit b84d8c4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • Functions.Templates/Templates
    • DurableFunctionsHttpStart-PowerShell-1.x
    • DurableFunctionsHttpStart-PowerShell-2.x

Functions.Templates/Templates/DurableFunctionsHttpStart-PowerShell-1.x/run.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ using namespace System.Net
33
param($Request, $TriggerMetadata)
44

55
$FunctionName = $Request.Params.FunctionName
6-
$InstanceId = Start-NewOrchestration -FunctionName $FunctionName
6+
$InstanceId = Start-DurableOrchestration -FunctionName $FunctionName
77
Write-Host "Started orchestration with ID = '$InstanceId'"
88

99
$Response = New-DurableOrchestrationCheckStatusResponse -Request $Request -InstanceId $InstanceId

Functions.Templates/Templates/DurableFunctionsHttpStart-PowerShell-2.x/run.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ using namespace System.Net
33
param($Request, $TriggerMetadata)
44

55
$FunctionName = $Request.Params.FunctionName
6-
$InstanceId = Start-NewOrchestration -FunctionName $FunctionName
6+
$InstanceId = Start-DurableOrchestration -FunctionName $FunctionName
77
Write-Host "Started orchestration with ID = '$InstanceId'"
88

99
$Response = New-DurableOrchestrationCheckStatusResponse -Request $Request -InstanceId $InstanceId

0 commit comments

Comments
 (0)