Questions and discussion around ProcessMaker 2 documentation

Moderator: amosbatto

By smorel
#42589
Hi

Could anyone explain to me how to work with $_SESSION["APP_DATA"]["variable"]
as refered in http://wiki.processmaker.com/index.php/ ... n_Triggers

I've tried to use it and it does not seem to work for me

I'm using version 2.0.45

Here is my goal ...
Since I'm handling many variables and making function calls, I would prefer to use an array as parameter than each individual variables

Here is the code I've used
global $_SESSION;
$_SESSION["APP_DATA"]["variable"] = "test";
var_dump($_SESSION["APP_DATA"]);
array(1) {
["variable"]=>
string(4) "test"
}

Where are the other variables?
Is it not supposed to carry case variables?
I'm surrely missing something ... :roll:
View Dynaform in HTML Page

You might also want to check the [url=https://wiki[…]

You are going to have to put the configuration in […]

Hola, hay alguna forma de hacer que estos log se […]

Yo trabajo con la versión PM 3.2.3 - Ente[…]