I am using below js snippet to run an activity from js and then it is needed to read a clipboard page property from there to be used as variable but it is not letting me do that by throwing syntax error though there is apparently none.
var oSafeURL = new SafeURL("Class.Activity");
oSafeURL.put("Parameter", Parameter Value);
var callback2 =
pega.u.d.asyncRequest('GET', oSafeURL, callback2, null);
it is in Rule-File-Text. On click of a button in an external application, this js is being executed and it is working fine in all other respects. Only thing is that we are not finding the result of that activity to process in the same js in later stages.