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

Moderator: amosbatto

By Buomque

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
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.

Capture.PNG I have use this javascript code to ad[…]

Having a business, especially when it involves tra[…]

The condition is not workable

Hi there, Recently I've encountered the amount wh[…]

Yes i'm using vue js to load the data.