Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Hi all,
I'm having trouble accessing form grid values...
I manage to access a text field value (the name for example : #form.name#) but I cannot acces to a grid value...
Is there any limitation on the hash variables in the beanshell plugin ?
I would need to calculate a sum on a column of the grid and put it in a workflow variable, is there a better way than the beanshell plugin ?
How can I access to my grid's values in a beanshell script ?
thanks,
Antoine
2 Comments
antoine le maire
Nobody can help ?
I would really need this functionnality to work...
Tiensoon
Hi,
Ya, the #form# Hash Variable doesn't work for values captured from Grid.
However, that doesn't mean that your use case couldn't be achieved. Instead of using BeanShell Plugin, this is my suggestion:
In this case, the Hidden Field will carry the calculated summation value before form submission, and the value will ultimately be set into a workflow variable.