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

Moderators: ArturoRobles, 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.
Unable to create workspace

I have the same issue. Any solution? Thanks alex[…]

Install in ubuntu

Dear All, In our dev environment we did an upgrad[…]

Get data from oracle database.

How to display all data in a table from oracle DB […]

Hello everyone, I have the same route case issue, […]