Discussion
3
Replies
7989
Views
SYNTEL INC
Posted: October 13, 2015
Last activity: August 9, 2017
Closed
How can i execute java script function from an activity
Hi,
I want to be able to do "Run a Script" action event from an activity. how can i achieve this? I want to run a java script function which is in a .js file included in Scripts and Styles of the harness. i know i can do this from an action/event but in my case i need to do it from an Activity. Please advise. Thanks.
An activity runs on the server and a script runs on the client. There is no direct way to get any server method to call a client method. If you describe what you are trying to accomplish perhaps someone will have a different way of getting it done.
Cecil Howell
Senior Instructor, Pega Academy