From 3a4c88bcf87beedbdaa39f1b910fd9b4bb1c8967 Mon Sep 17 00:00:00 2001 From: Paul Andrew <60190428+mrpaulandrew@users.noreply.github.com> Date: Tue, 22 Feb 2022 09:36:38 +0000 Subject: [PATCH] Updating pipeline: pipeline1 --- Code/DataFactory/pipeline/pipeline1.json | 35 ++++++++++++++++++++---- 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/Code/DataFactory/pipeline/pipeline1.json b/Code/DataFactory/pipeline/pipeline1.json index a16578a..14b1e60 100644 --- a/Code/DataFactory/pipeline/pipeline1.json +++ b/Code/DataFactory/pipeline/pipeline1.json @@ -3,7 +3,7 @@ "properties": { "activities": [ { - "name": "Execute Pipeline1", + "name": "06 - Get Any File List", "type": "ExecutePipeline", "dependsOn": [], "userProperties": [], @@ -19,11 +19,11 @@ } }, { - "name": "Set variable1", + "name": "Set Pipe Output", "type": "SetVariable", "dependsOn": [ { - "activity": "Execute Pipeline1", + "activity": "06 - Get Any File List", "dependencyConditions": [ "Succeeded" ] @@ -31,16 +31,39 @@ ], "userProperties": [], "typeProperties": { - "variableName": "Test", + "variableName": "WorkerOutput", "value": { - "value": "@activity('Execute Pipeline1').output.pipelineRunId", + "value": "@activity('06 - Get Any File List').output.pipelineRunId", + "type": "Expression" + } + } + }, + { + "name": "Set Global Param", + "type": "SetVariable", + "dependsOn": [ + { + "activity": "06 - Get Any File List", + "dependencyConditions": [ + "Succeeded" + ] + } + ], + "userProperties": [], + "typeProperties": { + "variableName": "GlobalParam", + "value": { + "value": "@pipeline().globalParameters.Environment", "type": "Expression" } } } ], "variables": { - "Test": { + "WorkerOutput": { + "type": "String" + }, + "GlobalParam": { "type": "String" } },