Created
June 21, 2020 19:50
-
-
Save JarroVGIT/e9a902bb56f34419c6c3c0760404fa18 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@concat('{ | |
"','@','type": "MessageCard", | |
"','@','context": "https://schema.org/extensions", | |
"summary": "Issue 176715375", | |
"themeColor": "eb3434", | |
"title": "Azure DataFactory notification alert!", | |
"sections": [ | |
{ | |
"activityTitle": "Pipeline failed", | |
"activitySubtitle": "UTC: ', utcnow() ,'", | |
"activityImage": "https://azurebloggingresources.blob.core.windows.net/images/error-red-cross.png", | |
"facts": [ | |
{ | |
"name": "Data Factory:", | |
"value": "**', pipeline().DataFactory,'**" | |
}, | |
{ | |
"name": "Pipeline", | |
"value": "**',pipeline().Pipeline,'**" | |
}, | |
{ | |
"name": "Run ID", | |
"value": "**',pipeline().RunId,'**" | |
} | |
], | |
"text": "Error in inner pipeline: ',activity('Call failing pipeline').output.pipelineName,'" | |
} | |
], | |
"potentialAction": [ | |
{ | |
"@type": "OpenUri", | |
"name": "Go to Pipeline Run", | |
"targets": [ | |
{ | |
"os": "default", | |
"uri": "https://adf.azure.com" | |
} | |
] | |
} | |
] | |
}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment