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:
Move draft Cases to Admin inbox

There are many problems with your process. I wil[…]

Thanks Amos, It's ok

3) Attach only selected quotes in the email to[…]

Hi, Indeed, i did attach the proper process map s[…]