Question

How to run Javascript for browser and passing pass parameters in it only

  • 15 December 2023
  • 2 replies
  • 80 views

Badge

Hi Everyone,

I have a question and I am not getting any solution that is,

Is there any package in automation anywhere where we can run a javascript function activity for a Web Based application which can help me to fun javascript function and in that I can pass  parameters from the automation code.

 

Thanks 


2 replies

Userlevel 5
Badge +12

Hi @yugal 786 

 

Have you checked Run JavaScript action? checkout below documentation and some conversations on the same topic.

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/aae-client/bot-creator/commands/javascript-run.html

https://community.automationanywhere.com/developers-forum-36/how-to-reference-variable-within-run-javascript-with-manual-input-85899

https://community.automationanywhere.com/developers-forum-36/run-javascript-in-browser-86395

Userlevel 3
Badge +5

For parameters within Automation Anywhere, you may need to write a dynamic JavaScript file (using Log text to file) and execute it that way. There is no way that JavaScript can directly accept AA variables.

Reply