PsDataFactory is a PowerShell module to generate DataFactory pipelines and datasets.
Adds a dependency to a pipeline activity.
Add-AdfDependency [-Activity] <PSObject> [-OnActivity] <PSObject> [-Condition] <String[]>
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Adds a dependency on a predecessor activity to the specified activity’s dependsOn collection. Each dependency can specify one or more conditions.
$activity | Add-AdfDependency -OnActivity $predecessorActivity -Condition Succeeded
Adds a dependency that allows the activity to proceed when the predecessor succeeds.
The pipeline activity to which the dependency will be added.
Type: PSObject
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
The predecessor activity to add as a dependency.
Type: PSObject
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
One or more conditions: Succeeded, Failed, Completed, or Skipped.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
https://abbgrade.github.io/PsDataFactory/docs/Add-AdfDependency.html