The pipeline is expected to fail, since I want to check if the alerts are working. But it still should be triggered even if it fails.
Please find the JSON of the trigger below:
{
"name": "tr_test",
"properties": {
"annotations": [],
"runtimeState": "Started",
"pipelines": [
{
"pipelineReference": {
"referenceName": "test",
"type": "PipelineReference"
}
}
],
"type": "ScheduleTrigger",
"typeProperties": {
"recurrence": {
"frequency": "Day",
"interval": 1,
"startTime": "2023-05-15T07:18:00",
"timeZone": "W. Europe Standard Time",
"schedule": {
"minutes": [
0
],
"hours": [
6
]
}
}
}
}
}
Please find the JSON of the pipeline below
{
"name": "test",
"properties": {
"activities": [
{
"name": "create_watermark_table",
"type": "Script",
"dependsOn": [],
"policy": {
"timeout": "0.12:00:00",
"retry": 0,
"retryIntervalInSeconds": 30,
"secureOutput": false,
"secureInput": false
},
"userProperties": [],
"linkedServiceName": {
"referenceName": "ls_snf_rawDb_basicAuth",
"type": "LinkedServiceReference"
},
"typeProperties": {
"scripts": [
{
"type": "Query",
"text": "dsource_tablename VARCHAR(100)\n , target_nameddddddddddddddddddd"
}
],
"scriptBlockExecutionTimeout": "02:00:00"
}
}
],
"variables": {
"table_name": {
"type": "String"
}
},
"annotations": [],
"lastPublishTime": "2023-03-02T12:37:48Z"
},
"type": "Microsoft.DataFactory/factories/pipelines"
}