Discussion

1
Replies
3362
Views
Close popover
David García Agüera (David_GA)
Cognizant
System Architect
Cognizant
ES
David_GA Member since 2014 1 post
Cognizant
Posted: October 14, 2015
Last activity: October 14, 2015
Closed

How to call a When Rule using JavaScript

Hi.

I am working with Pega 7.1.7 to develop a Not auto-generated section using HTML and JavaScript and I would like to set the value of a JavaScript variable using the response value of a When rule as:

  • var valueRequired = <Returned value from When Rule>;

However, I do not know the syntax for that. Can you please tell me how can I call a When rule using JavaScript?

Thanks in advance.

User Experience
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 Discussion, please write a new Discussion.