Closed
Java,Java Script,Ajax in Pega
how to call an activity from the java, java script,Ajax?
***Updated by moderator: Lochan to add Categories***
how to call an activity from the java, java script,Ajax?
***Updated by moderator: Lochan to add Categories***
Hi Yatish,
In Java you can call this way,
ParameterPage newParamsPage = new ParameterPage();
newParamsPage.putString("EmployeeName", "Mahesh"); -> This is the parameter which my GetEmployeeData activity will take as input
HashStringMap params = new HashStringMap();
params.putString("pxObjClass", "Rule-Obj-Activity");
params.putString("pyClassName", "Mahesh-Case1");
params.putString("pyActivityName", "GetEmployeeData");
tools.doActivity(params, null, newParamsPage);
Hope this is clear to you.
Regards
Mahesh
For Javascript and Ajax calls you can look into this discussion.
thanks Mahesh
You are welcome yatish.
Discussion
Discussion
Question
Discussion
Question
Question
Question
Question
Question Solved
Question
Pega Collaboration Center has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.