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

Moderator: amosbatto

By rohitambre
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
Create a trigger like this:
Code: Select all
$g = new G();
@@myLibraryUrl = ($g->is_https() ? "https" : "http") . "://";   
Set this trigger to fire before the Dynaform.

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

@{ var result = ""; if (IsPost) […]

Hi, Could you explain to me what is the differenc[…]

Routing Logic

Thanks Amos, will do it how u recommended.

Did you set up your ProcessMaker server to periodi[…]