Questions and discussion about using ProcessMaker: user interface, running cases & functionality
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

Being the best in the started business is the obje[…]

Winzo is a popular and unique game on the mobile p[…]

Cannot create process using templets

Real details. The problem was solved by effect!

However, it is essential to use it responsibly and[…]