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

Moderator: amosbatto

By Buomque
#826450
Hi,

I am a new ProcessMaker user. I am trying to save a Grid dropdown value as variable, so that I can use this variable for my case title in "Case Labels".

Is there a way to get this work with Javascript or any other way?

Thank you,
User avatar
By amosbatto
#826454
Doing it with JavaScript is complicated.
It is is much easier to use a trigger like this:
Code: Select all
@@selectedOption = '';
if (!empty(@=myGrid)) {
   //get selected value in dropdown in first row of grid:
   @@selectedOption  = @=myGrid[1]['myDropdown_label'];
}
Where "myGrid" is the variable associated with the grid and "myDropdown" is the ID of the dropdown in the grid. Set this trigger to fire after the Dynaform with "myGrid".

Then use the variable @#selectedOption in the Case Label.
Location of Queue Jobs

I've been searching for where processmaker stores […]

You have to copy the library, put it into folder:[…]

hi, I have m_file variable (@@draft), and I have […]

Croatian translation

Hi gosmart, Nobody is currently working on a C[…]