Question

1
Replies
820
Views
Close popover
Arun Sankar Jothimani (ArunSankarJ)
ESTES
PEGA ARCHITECT
ESTES
IN
ArunSankarJ Member since 2013 1 post
ESTES
Posted: October 28, 2019
Last activity: October 30, 2019
Closed

How pass value from java script to param page

Below is the scenario:

1. On click of button, JS function is calledro run a activity

2. From the activity a return value passed to Java script

3. Now from Java script, I need to pass the value to Pega Parameter page

Please let me know the ways.

JS Function : ( Note: I am using below function in Mobile scripts)

function CallActivityCheckCase(className, activityName, CaseID) {
var ActivityPath = className + "." + activityName;
var OSafeURL = new SafeURL();
OSafeURL.put("CaseID", CaseID);
var IsCaseReassignOrUnassign;
pega.u.d.ServerProxy.executeBreakoutCall(ActivityPath, OSafeURL, {
success: function(data) {
IsCaseReassignOrUnassign = JSON.stringify(data);
if (IsCaseReassignOrUnassign == "true")
{
alert("Task is no longer available in your workbasket");
// Here I need to pass the values to param page
}
},
failure: function() { },
scope: window
});

Low-Code App Development
Moderation Team has archived post,
Close popover 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.