Question

4
Replies
3083
Views
GhinaH83 Member since 2016 41 posts
Murex
Posted: 3 years ago
Last activity: 3 years 8 months ago
Closed

Call Activity with Parameter

Hello,

I have to call an activity with parameter from an HTML section. I have tried the following code but it didn't work. Any idea what is wrong? Or what is the proper way of doing so? Noting that "User" is the Activity parameter.

function callActivity(){
var UserName = 'Test';
var oSafeURL = new SafeURL();
oSafeURL.put("pyActivity","Code-Security.ForgetPassword");
oSafeURL.put("User", UserName );
pega.util.Connect.asyncRequest('POST', oSafeURL.toURL(),'');

}

***Updated by moderator: Lochan to add Categories***

Data Integration Java and Activities User Interface
Moderation Team has archived post
Share this page LinkedIn