From 918640b0927726d7fc77fc8f19b5654583109b21 Mon Sep 17 00:00:00 2001 From: Paul Andrew <60190428+mrpaulandrew@users.noreply.github.com> Date: Mon, 17 Oct 2022 12:47:15 +0100 Subject: [PATCH] Updating pipeline: EmailSender --- Code/DataFactory/pipeline/EmailSender.json | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/Code/DataFactory/pipeline/EmailSender.json b/Code/DataFactory/pipeline/EmailSender.json index 4916690..e139b7c 100644 --- a/Code/DataFactory/pipeline/EmailSender.json +++ b/Code/DataFactory/pipeline/EmailSender.json @@ -18,10 +18,8 @@ "functionName": "SendEmail", "method": "POST", "body": { - "emailRecipients": "mrpaulandrew@ymail.com", - "emailSubject": "ADFprocfwk Alert: Deployment Gateway Test", - "emailBody": "Deployment Gateway Test Success", - "emailImportance": "High" + "value": "@concat('\n{\n\"emailRecipients\": \"mrpaulandrew@ymail.com\",\n\"emailSubject\": \"ADFprocfwk Alert: Deployment Gateway Test\",\n\"emailBody\": \"Deployment Gateway Test Success\",\n\"emailImportance\": \"High\"\n}')", + "type": "Expression" } }, "linkedServiceName": { @@ -30,6 +28,21 @@ } } ], + "parameters": { + "Recipients": { + "type": "string" + }, + "Subject": { + "type": "string" + }, + "Body": { + "type": "string" + }, + "Importance": { + "type": "string", + "defaultValue": "High" + } + }, "folder": { "name": "Demo Pipelines/Misc" },