Access User Properties - Copy Activity

Copper Contributor

Hi,

 

I am trying to access or pass values from "User Properties" (Copy Activity). Is there any @activity property which can help me get those values.

 

e.g. @activity('copyactivity1').userproperties.source.value 

 

MujtabaTirmazi_0-1589900927781.png

 

1 Reply

Hi @MujtabaTirmazi, User properties are the same as annotations, which are additional, informative tags that you can add to specific factory resources: pipelines, datasets, linked services, and triggers. By adding annotations, you can easily filter and search for specific factory resources. The only difference is that you can only add them to pipeline activities. By adding user properties, you can view additional information about activities under activity runs.

For more reference, please follow the link below.
https://www.cathrinewilhelmsen.net/2019/12/14/annotations-user-properties-azure-data-factory/

Could you explain your scenario.
Also, if you need to use user properties(that stores your source object name and sink object name), you can do so by using pipeline parameters or combination of multiple activities.