Azure / Azure/Azure-DataFactory

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

Open
#341 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
529
Forks
623
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/66282834/143562932-ace254dd-20dd-4c2b-a0f0-7fdc6a0ac73a.png)
![image](https://user-images.githubusercontent.com/66282834/143562984-3b0cb18e-9ffa-4112-9c58-f97417949d76.png)
![image](https://user-images.githubusercontent.com/66282834/143563045-45c07842-8a5d-460d-b8ac-862e5f18c659.png)
![image](https://user-images.githubusercontent.com/66282834/143563128-b2cacc01-f1db-482b-b210-a5975b967899.png)

I think that at least it should mention the multiple assignment of the trigger (as we see in the trigger section here below)
![image](https://user-images.githubusercontent.com/66282834/143563361-4ac1d58b-16ff-472e-8e2b-4e17ee38eb1f.png)

It would be nice to have a detail about parameters here too:
![image](https://user-images.githubusercontent.com/66282834/143563453-8b802bff-28ac-40c3-a152-32641a6cd1ed.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.