Question

4
Replies
3312
Views
Ghina Hamdan (GhinaH83)
Murex

Murex
LB
GhinaH83 Member since 2016 41 posts
Murex
Posted: January 27, 2017
Last activity: January 30, 2017
Posted: 27 Jan 2017 11:41 EST
Last activity: 30 Jan 2017 3:02 EST
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 Experience
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.