Discussion

1
Replies
1091
Views
VeenaB32 Member since 2015 4 posts
INCESSANT TECHNOLOGIES
Posted: 4 years ago
Last activity: 4 years 7 months ago
Closed

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

16STANDARD40When Rule Evaluation  FalseWhen End0.0000 @baseclass EncryptURL Pega-RULES 07-10-01
 15STANDARD40When Rule Evaluation   When Begin  @baseclass EncryptURL Pega-RULES 07-10-01
 14STANDARD40When Rule Evaluation  FalseWhen End0.0000 @baseclass isAccessible Pega-UIEngine 07-10-13
 13STANDARD40When Rule Evaluation   When Begin  @baseclass isAccessible Pega-UIEngine 07-10-13
 12STANDARD40When Rule Evaluation  FalseWhen End0.0000 @baseclass InDeveloperDesktop Pega-WB 07-10-01
 11STANDARD40When Rule Evaluation   When Begin  @baseclass InDeveloperDesktop Pega-WB 07-10-01
 10STANDARD40When Rule Evaluation  FalseWhen End0.0000 @baseclass InClassicDesktop Pega-WB 07-10-01
 9STANDARD40When Rule Evaluation   When Begin  @baseclass InClassicDesktop Pega-WB 07-10-01
Image removed.8STANDARD40When Rule Evaluation  TrueWhen End0.0010 @baseclass InCompositeDesktop Pega-WB 07-10-01
 7STANDARD40When Rule Evaluation   When Begin  @baseclass InCompositeDesktop Pega-WB 07-10-01
 6STANDARD40When Rule Evaluation  FalseWhen End0.0000 @baseclass EncryptURL Pega-RULES 07-10-01
 5STANDARD40When Rule Evaluation   When Begin  @baseclass EncryptURL Pega-RULES 07-10-01
 4STANDARD40When Rule Evaluation  FalseWhen End0.0000 @baseclass IsPortalUser Pega-RULES 07-10-01
 3STANDARD40When Rule Evaluation   When Begin  @baseclass IsPortalUser Pega-RULES 07-10-01
   2STANDARD40When Rule Evaluation  FalseWhen End0.0020 @baseclass InDeveloperDesktop Pega-WB 07-10-01
 1STANDARD40When Rule Evaluation   When Begin  @baseclass InDeveloperDesktop 

Pega-WB 07-10-01

 

 

Moderation Team has archived post
Share this page LinkedIn