Ask questions about installing and configuring ProcessMaker 3
#823187
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?

Thanks
#823230
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.
M.
Attachments
Schermata del 2019-03-04 17-11-11.png
Schermata del 2019-03-04 17-11-11.png (66.43 KiB) Viewed 9271 times
#823252
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(
    "APP_UID" => @@APPLICATION,
    "DEL_INDEX" => @%INDEX,
    "APP_TITLE" => @@document_number.", requested by ".@@user
);
$c->updateCase($aCaseInfo);
Then, set this trigger to fire at some point in your process.
#823273
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.
M.
#823304
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
pm_snip.PNG (40.84 KiB) Viewed 9173 times
pm_snip.PNG
pm_snip.PNG (6.67 KiB) Viewed 9173 times
#824614
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.

Fildena double 200 mg capacity to move the relaxin[…]

Wat is Fildena Double 200?

Fildena double 200 mg capacity to move the relaxin[…]

💥 Join the Exclusive Trading Community and Experie[…]

Briefly introduce the topic and provide context. S[…]