Question
Virtusa
AU
Last activity: 28 Aug 2020 6:52 EDT
Popup when drag and drop the custom control
I have a custom control which will hold process action activity. My requirement is to display the flow action when we drag and drop the custom control.
Code inside custom control:
<%
HashStringMap params = new HashStringMap();
params.putString("pxObjClass", "Rule-Obj-Activity");
params.putString("pyClassName", "@baseclass");
params.putString("pyActivityName", "ProcessAction");
tools.putParamValue("NewTaskStatus","CustomMap");
tools.putParamValue("StreamClass","Rule-HTML-Section"); tools.putParamValue("ActionSection","pzModalTemplate");
tools.putParamValue("bIsModal","true");
tools.doActivity(params, tools.getStepPage(), tools.getParameterPage());
%>
whenever i drag and drop activity is not running and how to display the pop up only when we drag and drop the custom control.
***Edited by Moderator: Pallavi to move from Pega Academy to Product, update platform capability tags***