Questions and discussion about using ProcessMaker: user interface, running cases & functionality

Moderator: amosbatto

By rohitambre
#825045
Hi everyone,
I have two environments one running on http and other on https. Whenever I have to transfer a process from one instance to other I have to change links for external libs from all the tasks to different domain and different protocol.

Can we create any Global variable in Process to use inside external libs field.

Thank You.
User avatar
By amosbatto
#825087
Create a trigger like this:
Code: Select all
$g = new G();
@@myLibraryUrl = ($g->is_https() ? "https" : "http") . "://www.mydomain.com/mydir/mycode.js";   
Set this trigger to fire before the Dynaform.

Then in your "external libs" property, set: @@myLibaryUrl
Save button error

Submit button error - not visible while editing th[…]

Hi Amosbatto. I tried the first code and it works[…]

generate daily excel report

I have exported table into excel sheet as shown in[…]

Please replay if there is any solution!!!!