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***
This content is closed to future replies and is no longer being maintained or updated.
Links may no longer function. If you have a similar request, please write a new post.
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
thanks Mahesh
You are welcome yatish.
Discussion
Discussion
Discussion
Question Solved
Question
Question
Question
Question
Question
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.