Ask questions about installing and configuring ProcessMaker 3

Moderator: amosbatto

Hi there,

I'm having trouble with some case labels, where the variables do not expand.
So, I have a task with case label @#document_number, requested by @#user . Some cases will show just the ", requested by" as the case label.
If I go to the task definition and add something before @#document_number (say "Process "), the labels work.

The descriptions for the same tasks also are not expanding the variables.

What I can see different on these cases are that some variable text have apostrophes, or braces.

Also strange is that this seem to only happen on a particular task. But all the parameters of the task are the same as the other tasks on the process.

Any idea what can be the problem?

Hi Amos,
I've the same issue. As you suggest I change the prefix variable with @= and @@ but without success.
I notice that only the new cases are affected and that if I enter in the design Case Label section and I do any change (ex. from @@ to @# or viceversa or @= ) , the case label of requests with inexact label appears correctly in the inbox area of user.
Any idea?
Thanks in advance.
Schermata del 2019-03-04 17-11-11.png
Schermata del 2019-03-04 17-11-11.png (66.43 KiB) Viewed 2108 times
I still can't replicate the problem on my installation of ProcessMaker 3.3.4 Enterprise, but as programerboy suggests, you can get around the problem by adding the following trigger to your process:
Code: Select all
$c = new Cases(); 
$aCaseInfo = array(
    "DEL_INDEX" => @%INDEX,
    "APP_TITLE" => @@document_number.", requested by "[email protected]@user
Then, set this trigger to fire at some point in your process.
Hi amosbatto,
I have the same issue on 2 different server with the community version.
Strangely your solution doesn't work but the one of programerboy do.
However this solution is very difficult to follow, because I don't want to create a trigger for all tasks and for all processes, because I set the case label in the task properties differently for every task. Every user wants to see the relevant information for his job in the personal inbox section. Moreover the setting of Case Label in the task property was so cool until it worked!
Thanks in advance.
I'm not sure I understood the suggestion by programerboy.
Can someone explain it?

I currently only see this problem on a particular task.

If I change the title on the designer, the title gets fixed but it reverts after cron runs.
Also, if I go to "Advanced Search" the task shows with the wrong name all the time.
pm_snip.PNG (40.84 KiB) Viewed 2010 times
pm_snip.PNG (6.67 KiB) Viewed 2010 times
I found out that this is a bug in ProcessMaker. If there are multiple triggers fired during routing, then only the variables in the first trigger are saved. To get around this bug, you need to combine all your after routing triggers into one trigger if you are using 3.3.8 or later. This bug was fixed in version 3.3.9

The is another bug setting the values in grids in triggers after routing. This bug will be fixed in version 3.3.12.
ProcessMaker external Editor

Hi all, I am trying to follow how to use Processm[…]

Hi dan123dan, Even though your answer isn't direc[…]

If your plugin uses this (e.g. to insert data into[…]

Processmaker Installation on Linux

We are trying to install processmaker on linux ser[…]