Questions and discussion around ProcessMaker 2 documentation
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:

If you're seeking to maximize gains and minimize r[…]

Embark on your virtual journey with Dappsfirm! Our[…]

Unleash your creativity with us! Dive into the wor[…]

Most entrepreneurs would pick the crypto exchange […]