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:

Thank you i will be testing that

The check box is in the grid. I need to change th[…]

You need to use database queries in triggers to ge[…]

i still got error after add this header, This […]