question

bhargavkandala-1177 avatar image
0 Votes"
bhargavkandala-1177 asked KranthiPakala-MSFT commented

Is there a way to disable a COPY Activity

Hi All,
I have a pipeline that has 50 COPY tasks. Is there a way i can disable (NOT DELETE) to trouble shoot the failing COPY tasks? I have one COPY activity failing and when i click on debug it is processing all the 50 taking lot of time, instead is there a way where i can just rerun the failing COPY activity or disable the other COPY tasks?
Thanks

azure-data-factory
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @bhargavkandala-1177,

We still have not heard back from you. Just wanted to check if the below response from @NandanHegde-7720/@Samy-7940 was helpful? If it answers your query, please do click “Accept Answer” and/or Up-Vote, as it might be beneficial to other community members reading this thread.

And, if you have any further query do let us know.

0 Votes 0 ·
NandanHegde-7720 avatar image
0 Votes"
NandanHegde-7720 answered bhargavkandala-1177 commented

hey,
Unfortunately there is no way to disable an activity within a pipeline in ADF v2.

One way is you can delete all copy tasks except for the one which you want to test and click on debug.
for debug you need not publish your changes and then once debug is done you van refresh the page thereby reverting back to original.

Another way is to use Switch activity and have copy tasks within switch values and have a parameter value to switch across those values

Note: There is a limitation of 40 activities per pipeline so not sure how you have 50 copy tasks ?

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@NandanHegde-7720 there are 2 pipeline , sorry for the lack of details i provided, one has 40 and the other 15 COPY tasks. Both are issues for trouble shooting the failing COPY Activity.
Thanks

0 Votes 0 ·
Samy-7940 avatar image
0 Votes"
Samy-7940 answered Samy-7940 edited

Hi @bhargavkandala-1177, You can't disable the copy activity. Please check the below link, although it is bit old but

still relevant to your ask. Thanks a lot.

https://stackoverflow.com/questions/50243988/disable-activity-in-azure-data-factory-pipeline-without-removing-
it

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.