0
votes

I'm trying to create an advanced schedule trigger, following this: https://docs.microsoft.com/en-us/azure/data-factory/concepts-pipeline-execution-triggers#schedule-property

  1. I Created a very simple pipeline:

    enter image description here

  2. tried a manual run and it was OK: enter image description here

  3. Created a schedule (each 1 minute) trigger

  4. Opened the JSON for that trigger and modified it to:

{
    "name": "test",
    "properties": {
        "runtimeState": "Started",
        "pipelines": [
            {
                "pipelineReference": {
                    "referenceName": "ForEachMetadata",
                    "type": "PipelineReference"
                }
            }
        ],
        "type": "ScheduleTrigger",
        "typeProperties": {
            "recurrence": {
                "frequency": "Minute",
                "interval": 1,
                "startTime": "2019-02-25T16:23:00.000Z",
                "timeZone": "UTC",
                "schedule": {
                    "minutes": [
                        0,
                        30
                    ],
                    "hours": [
                        10,
                        11
                    ],
                    "weekDays": [
                        "monday",
                        "tuesday",
                        "wednesday",
                        "thursday",
                        "friday"
                    ]
                }
            }
        }
    }
}
  1. As soon as it's published I get that the trigger failes: enter image description here

What am I doing wrong?

1

1 Answers

1
votes

Please revisit the JSON and update

"frequency": "Minute",

with

"frequency": "Week",

and that should help .