Questions and discussion about using ProcessMaker: user interface, running cases & functionality

Moderator: ArturoRobles

By pamiller3
#828384
I am trying to find a way to add the Current Date to the Case Label, but not getting any luck.
I have a trigger firing before the only dynaform in the task that should be getting the date, shown here:
@@currentDate = getCurrentDate();

Then in the case label I have:
@@current_date Daily Checks

And all I get for a label is:
"" Daily Checks

What am I doing wrong?
By Ironguts25
#828385
For starters it looks like you're referencing an empty variable in your case label. The variable @@current_date is not the same as @@currentDate.
Your variable reference in the case label should look like this: @=currentDate Daily Checks.

Note, the change to the variable prefix @= is required otherwise the date will be converted to a string and will include quotation marks around the date in your label.

Hi All, I am using 3.5 version and everything work[…]

BPM programming permits organizations to advance t[…]

PROBLEM WITH DROPDOWN VALUE?..

Hello, I'm using a dropdown which load the info[…]

Convert PDF to base 64

Hi, anyone with a solution to this please?