I need to call an activity with two parameters in a Data Transform.I am unable to do the same with the Function call activity in expression builder.How to pass the parameters so that i can call my activity inside the DT.
Calling activities is not directly supported from Data Transforms and as such we would not really recommend doing this. You would need to create a function to call the activity, and this can create configuration that is difficult to troubleshoot and maintain.
Check some of the related post links below though as this has been discussed before.
But in my scenario i am having an activity for error handling purpose with 3 parameters.I need to call this activity inside different Data transforms for the purpose of error handling.In activities this is working fine for me since we can call activities within activity.But in order to handle the error in DT i need to call this activity.I used the functions "callactivity(Utilities)" and )"@Utilities.pxExecuteAnActivity" but its not working for me.Whether i need to write a custom function for running an activity with current parameters.
I had understood your requirement and i had found a way to call the activity using pxExecuteAnActivity function by passing along with the two input parameters and used those parameters in the called activity as shown in my use case in the attachment.
Kindly look into the attachment for your requirement.