Regarding where to write js code in wire js widget

418 views
Skip to first unread message

Manoj Kanade

unread,
Sep 27, 2023, 3:52:19 AM9/27/23
to RunMyProcess Developer Forum
Hello team,

In Current wire in runmyprocess there is one js widget.'
But i do not find any feature which allow us to write code in js widget in wire.
Could you please tell us where to write js code which will help me execute some functionality?

Best Regards
Manoj Kanade


RunMyProcess Developer Forum

unread,
Sep 28, 2023, 1:18:31 PM9/28/23
to RunMyProcess Developer Forum, Manoj Kanade
Good morning Manoj,

The JS widget is now disabled on the WIRE.

You should use a Javascript library now (see below screenshot). 

Please, find the steps below:

1- Create a versioned file: myfunctions.js

2- Go to the web interface and attached your JS file in your web interface (see screenshot)

3- Write your functions in your file: e.g. function show_message() {alert ("This is your JS");} show_message();

If you have any other questions, please let us know, we can organize a call.

Regards,

RunMyProcess Support
JS Library 2.png
JS Library 1.png

Juan Carlos Escobar

unread,
Jan 30, 2024, 3:55:59 PMJan 30
to RunMyProcess Developer Forum, RunMyProcess Developer Forum, Manoj Kanade
Hi coworkers, i had the same problem, but now have some questions.
1- Previously we told the JS with which variable to activate it, now there is no longer this way to activate it?
2 - The JS activates itself, every time I move a variable that has an influence on my JS?

Regards
Reply all
Reply to author
Forward
0 new messages