Share via

Inconsistency when assigning the same trigger (with different parameters) to the same pipeline

Punta Davide 1 Reputation point
2021-11-26T10:17:23.8+00:00

I noticed that it's possible to assign one trigger multiple times (with different parameters) to the same pipeline via json configuration, but then this brings to an inconsistency in the Azure Data Factory Studio.

Here's the trigger json configuration:

{
    "name": "Partitario",
    "properties": {
        "annotations": [],
        "runtimeState": "Started",
        "pipelines": [
            {
                "pipelineReference": {
                    "referenceName": "PARTITARIO_PROCESS_FILE",
                    "type": "PipelineReference"
                },
                "parameters": {
                    "FileType": "KNA1"
                }
            },
            {
                "pipelineReference": {
                    "referenceName": "PARTITARIO_PROCESS_FILE",
                    "type": "PipelineReference"
                },
                "parameters": {
                    "FileType": "LFA1"
                }
            },
            {
                "pipelineReference": {
                    "referenceName": "PARTITARIO_PROCESS_FILE",
                    "type": "PipelineReference"
                },
                "parameters": {
                    "FileType": "BSID"
                }
            },
            {
                "pipelineReference": {
                    "referenceName": "PARTITARIO_PROCESS_FILE",
                    "type": "PipelineReference"
                },
                "parameters": {
                    "FileType": "BSAD"
                }
            },
            {
                "pipelineReference": {
                    "referenceName": "PARTITARIO_PROCESS_FILE",
                    "type": "PipelineReference"
                },
                "parameters": {
                    "FileType": "BSIK"
                }
            },
            {
                "pipelineReference": {
                    "referenceName": "PARTITARIO_PROCESS_FILE",
                    "type": "PipelineReference"
                },
                "parameters": {
                    "FileType": "BSAK"
                }
            }
        ],
        "type": "ScheduleTrigger",
        "typeProperties": {
            "recurrence": {
                "frequency": "Day",
                "interval": 1,
                "startTime": "2021-11-25T16:52:00",
                "timeZone": "W. Europe Standard Time",
                "schedule": {
                    "minutes": [
                        0
                    ],
                    "hours": [
                        1
                    ]
                }
            }
        }
    }
}

But in the ADF Studio I just have this:

image
image
image
image

I think that at least it should mention the multiple assignment of the trigger (as we see in the trigger section here below)

image

It would be nice to have a detail about parameters here too:

image

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.


1 answer

Sort by: Most helpful
  1. ShaikMaheer-MSFT 38,631 Reputation points Microsoft Employee Moderator
    2021-11-29T15:24:34.44+00:00

    Hi @Punta Davide ,

    Technically, assigning same trigger with different values to pipeline parameters is not supported in ADF.

    Please check below screenshot.

    153369-image.png

    But you mentioned to did that using json. I doubt, will it actually run pipeline multiple times with same trigger with different parameters. Could you please monitor your pipeline runs and confirm once?

    Was this answer helpful?


Your answer

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