Discussion
Citi Bank
US
Last activity: 19 Feb 2016 2:53 EST
How to call an activity using javascript from DWA
Hi guys,
Iam using javascript to call an activity from the DWA screen with the external user, iam calling an activity and posting the value to that activity using a parameter. Iam posting the value to the clipboard, the activity is receiving the parameter i can see it using the remote tracer but unable to find the value in the clipboard because of the following problem. Here is my code whcih i have used.
Plz guys waiting for an early Reply.
Thanks in Advance :)
function myFunction1()
{
alert("You scored "+x);
document.getElementById("score").value ="You scored "+x;
var bSafeURL= new SafeURL("Razi-OnlineExam-Work.JS_TEST_ACT");
bSafeURL.put("Marks",x);
pega.util.Connect.asyncRequest('GET', bSafeURL.toURL(),'');
}
Here is the problem in tracer which i can see
16 | STANDARD | 4 | 0 | When Rule Evaluation | False | When End | 0.0000 | @baseclass EncryptURL | Pega-RULES 07-10-01 | |||
15 | STANDARD | 4 | 0 | When Rule Evaluation | When Begin | @baseclass EncryptURL | Pega-RULES 07-10-01 | |||||
14 | STANDARD | 4 | 0 | When Rule Evaluation | False | When End | 0.0000 | @baseclass isAccessible | Pega-UIEngine 07-10-13 | |||
13 | STANDARD | 4 | 0 | When Rule Evaluation | When Begin | @baseclass isAccessible | Pega-UIEngine 07-10-13 | |||||
12 | STANDARD | 4 | 0 | When Rule Evaluation | False | When End | 0.0000 | @baseclass InDeveloperDesktop | Pega-WB 07-10-01 | |||
11 | STANDARD | 4 | 0 | When Rule Evaluation | When Begin | @baseclass InDeveloperDesktop | Pega-WB 07-10-01 | |||||
10 | STANDARD | 4 | 0 | When Rule Evaluation | False | When End | 0.0000 | @baseclass InClassicDesktop | Pega-WB 07-10-01 | |||
9 | STANDARD | 4 | 0 | When Rule Evaluation | When Begin | @baseclass InClassicDesktop | Pega-WB 07-10-01 | |||||
8 | STANDARD | 4 | 0 | When Rule Evaluation | True | When End | 0.0010 | @baseclass InCompositeDesktop | Pega-WB 07-10-01 | |||
7 | STANDARD | 4 | 0 | When Rule Evaluation | When Begin | @baseclass InCompositeDesktop | Pega-WB 07-10-01 | |||||
6 | STANDARD | 4 | 0 | When Rule Evaluation | False | When End | 0.0000 | @baseclass EncryptURL | Pega-RULES 07-10-01 | |||
5 | STANDARD | 4 | 0 | When Rule Evaluation | When Begin | @baseclass EncryptURL | Pega-RULES 07-10-01 | |||||
4 | STANDARD | 4 | 0 | When Rule Evaluation | False | When End | 0.0000 | @baseclass IsPortalUser | Pega-RULES 07-10-01 | |||
3 | STANDARD | 4 | 0 | When Rule Evaluation | When Begin | @baseclass IsPortalUser | Pega-RULES 07-10-01 | |||||
2 | STANDARD | 4 | 0 | When Rule Evaluation | False | When End | 0.0020 | @baseclass InDeveloperDesktop | Pega-WB 07-10-01 | |||
1 | STANDARD | 4 | 0 | When Rule Evaluation | When Begin | @baseclass InDeveloperDesktop |
Pega-WB 07-10-01
|
|||||