1
votes

To create a Trigger, seems like you have to publish it before it can take effect. But publishing requires a PR to the 'Collaboration' branch, which means we will have to create a PR even before testing if the trigger actually works and also multiple subsequent PRs until we get the trigger right.

Especially when you want to develop Event Triggers based on file uploads, this is counter productive to create a PR even before you have tested the Trigger.

Is there a different way to set up ADF in the DEV environment or to activate a trigger without needing to publish it first?

Thanks!

2
No, there isn't. We can't activate a trigger without publish it first. Unless you trigger the pipeline with other service, such as logic app.Leon Yue
so what is the recommended approach to developing triggers?Gadam
That's Data Factory built-in trigger limit. Logic app also have much triggers which can help you trigger the pipeline run, trigger+action(execute data factory pipeline).Leon Yue
Hi Gadam, you can ref answer here: stackoverflow.com/a/65822640/10549281Leon Yue

2 Answers

1
votes

You can use PowerShell query to Start and Stop ADF triggers, you can find the code to do the same here

PowerShell just need few details like your subscription details, resource group details where ADF exists and then ADF details. This can be controlled without having to publish the ADF, moreover you can create a generic script and save it for further use-case testing, this will save your time in future as well.

Thanks!

0
votes

There is an other way can help achieve activate a trigger without needing to publish it first. @Joseph Xu provides more details for us.

You could ref the answer here: https://stackoverflow.com/a/65822640/10549281