Closed
Call parametrized activity by passing multiple values under html tab for a Control
Hi Team,
I need to call an activity by passing multiple parameters on hover of a field. Hence I am creating a customized control to achieve this
can anyone please help me the exact syntax to call an activity with multiple parameters in java or javascript.
Thanks in Advance
***Edited by Moderator Rupashree to add Capability tags***
To see attachments, please log in.
@Afroza In Java, you can call an activity from a JSP rule using the following syntax: <% Pega_rules_utilities.callActivity(PrimaryPage, "ActivityName", ParameterPage); %>. In JavaScript, you can use the pega.u.d.doAction function to call an activity. The syntax would be something like this: pega.u.d.doAction("doActivity", "MyActivity", "MyClass", "", "", "Param1=Value1,Param2=Value2"). Please replace "MyActivity", "MyClass", "Param1=Value1,Param2=Value2" with your actual activity name, class, and parameters.
⚠ This is a GenAI-powered tool. All generated answers require validation against the provided references.
How to call activity from JSP
JS function for launching a flow