What is wrong with my ADF schedule trigger setup

Izabela Kwaśniak 20 Reputation points
2024-01-18T10:55:10.56+00:00

Hello, I'm trying to set up a trigger that will run every year, at 1st January. I tried to create two triggers, for both of them I marked 'Start on creation' checkbox, connected to the pipeline and published them, but none of these two triggers fired up. Is there any bug in the following jsons?

First:

{
    "name": “Test”,
    "properties": {
        "annotations": [],
        "runtimeState": "Started",
        "pipelines": [
            {
                "pipelineReference": {
                    "referenceName": “MyPipeline”,
                    "type": "PipelineReference"
                },
                "parameters": {
                    “name”: “1”
                }
            }
        ],
        "type": "ScheduleTrigger",
        "typeProperties": {
            "recurrence": {
                "frequency": "Month",
                "interval": 12,
                "startTime": "2024-01-19T09:37:00",
                "timeZone": "Central European Standard Time",
                "schedule": {
                    "minutes": [
                        0
                    ],
                    "hours": [
                        3
                    ],
                    "monthDays": [
                        1
                    ]
                }
            }
        }
    }
}

Second:

{
    "name": “Test 2“,
    "properties": {
        "annotations": [],
        "runtimeState": "Started",
        "pipelines": [
            {
                "pipelineReference": {
                    "referenceName": “MyPipeline”,
                    "type": "PipelineReference"
                },
                "parameters": {
                    “name”: “test”
                }
            }
        ],
        "type": "ScheduleTrigger",
        "typeProperties": {
            "recurrence": {
                "frequency": "Month",
                "interval": 12,
                "startTime": "2024-01-01T03:00:00",
                "timeZone": "Central European Standard Time",
                "schedule": {
                    "minutes": [
                        0
                    ],
                    "hours": [
                        5
                    ],
                    "monthDays": [
                        1
                    ]
                }
            }
        }
    }
}
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,209 questions
{count} votes

Accepted answer
  1. Bhargava-MSFT 31,196 Reputation points Microsoft Employee
    2024-01-24T01:22:39.4633333+00:00

    Hello Izabela Szubert,

    When you create the trigger with option "Start on creation" the trigger status will change to "Started", but it won't run the pipeline until the scheduled time.

    If you do not enable "start on creation", you will need to manually start the trigger.

    User's image

    I hope this answers your question.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.