Question

1
Replies
936
Views
Arun Sankar Jothimani (ArunSankarJ)
HCL
Arun Sankar Jothimani
HCL
IN
ArunSankarJ Member since 2013 1 post
HCL
Posted: October 28, 2019
Last activity: October 30, 2019
Posted: 28 Oct 2019 12:25 EDT
Last activity: 30 Oct 2019 7:33 EDT
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, 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.