Question
Cognizant
IN
Last activity: 27 Mar 2017 10:27 EDT
Calling Activity in a Data Transform
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.
-
Like (0)
Raju G -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
Hi Praveen,
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.
Regards
Mahesh
Pegasystems Inc.
GB
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.
Pegasystems Inc.
US
Hi Praveen,
Adding to the Marc explanation, you can call the Data Page in your Data transform to fetch the data and you can source your parameters to your Data Page as input for further processing on data.
Hope it might be helpful to you.
Regards
Mahesh
Cognizant
IN
Thanks for the reply Mahesh
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.
Kindly advise..
Accepted Solution
Pegasystems Inc.
US
Hi Praveen,
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.
Regards
Mahesh
-
GOURI KANCHANAMALA WICKRAMASEKARA Preethi Ageer Dilip Kumar sudhakar jetti SHARON ELSA JOHN and 13 More
Cognizant
IN
Thanks a lot for the suggestion mahesh.
Pegasystems Inc.
US
You are welcome praveen, hope it might have resolved your issue with this usecase.