Between Primary keyword and Step page what will take precedence?

This was asked in an Interview-Your activity is calling a DT at step 5 which is of different class than that of calling activity, also you mentioned a step page name in the step page field of the activity(where you are calling DT),Now in that DT you are using a Primary.property so what will be the context of this Primary in DT?Will it pick the DT class or the activities class?

Hi @TanyaS58: When you mention a step page to call the DT, the DT from the class of the step page will be executed. In the context of Data transform, the Primary will be the page of the Data transform class (in this case the step page mentioned in the activity).

Thanks.