Discussion
American Express
US
Last activity: 4 Oct 2018 11:08 EDT
Calling Activity from Data transform
Can actvity be called from Data transform?
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
-
Likes (3)
Saikrishna Chenumalla KANCHIPATI ARJUN VARA KANCHIPATI SriHarsha Koppula -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
IN
we need to write a custom function to call activity from data transform.
NIIT Technologies Limited
AU
Use callActivity function from expression editor.
It is present in Pega-rules utilites function library.
-
Vasipalli Lavanya Pothuraju Goli Yechuri Bhavya sri
Pegasystems Inc.
IN
callActivity available in Pega-Rules is a void return type function.
-
Kamalapuri Hari Prasad
American Express
US
Thanks Ravi and Sahu! Yes, I checked that option from expression builder. But that can be used to call built-in function like update status. How can custom activities be called from DT?
NIIT Technologies Limited
AU
You can call custom activities as well from data transform using callActivity() function.
Pass primaryPage and activityName to callActivity.
Syntax will be-
pega_rules_utilities.callActivity(PrimaryPageName, ActivityName, tools.getParameterPage());
-
Adarsh Madanala Shridhevi K
Updated: 29 Dec 2015 16:22 EST
Tata Consultancy Services Ltd
IN
above is not working , i am always getting below error , can someone help for this
"@(Pega-RULES:Utilities).callActivity(MyServicePage, SetCountries, tools.getParameterPage())"
[seeking]
@(Pega-RULES:Utilities).callActivity(ClipboardPage,ClipboardPage,PublicAPI)
[candidate functions are]
@(Pega-RULES:PegaRulesUtilities).callActivity(ClipboardPage,String,void)
@(Pega-RULES:Utilities).callActivity(ClipboardPage,String,void)
ME Bank
AU
Does anybody have any solution? I am using 7.1.7. Keep getting the above error.
Pegasystems Inc.
IN
would OOTB function pxExecuteAnActivity helps?
ME Bank
AU
Solution: Use executeactivity function instead of CallActivity
SINARMASMSIGLIFE
ID
hi,
can anyone give the example ?
i have tried , but failed :D.
what it should be used ? (screen shot)
-
S MANOJ KUMAR REDDY
Tata Consultancy Services
US
You can use function pxExecuteAnActivity to call an activity from a Data transform like below
-
S MANOJ KUMAR REDDY SURATA RAJANI Pothuraju Goli PAVAN PHANEENDRA MANIKUMAR JAKKAMSETTI
Novitates
IN
use Param.Activity === @Utilities.pxExecuteAnActivity(PageName,ActiviyName) is DT
-
Md Sharique Akhter Aulia Rahmadi pedapatnam vamsiram Zenas Morris S MANOJ KUMAR REDDY and 3 More