Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
I want to store the current process id in an external database
how do I get the process id in the beanshell form binder?
You may use the Assignment hash variable as described in Hash Variables. Hope this helps.
I want to set the current processid in
the following coding that i have put in the beanshell
FormRow originalRow = rows.get(0);
FormRowSet newRows = new FormRowSet();
FormRow newRow = new FormRow();
But it is giving me Error...
Above coding is not working .
Where I am going Wrong please tell me?
or any other method to get process id?
I guess you forgot to quote your string?
I have tried the following ways in my above coding
But still it is not working..
String id=#assignment.processId#;String id="#assignment.processId#";String id=assignment.processId;
Any other ways to get processid in beanshell...
You need to quote the hash variable!
I have a similar problem. Reading the hash variable works in the BeanShell form load binder but not in the form store binder. I'm using the same way to access the hash variable in both.
For the form load binder the output of system.out.println is
For the form store binder the output of system.out.println is
Is there any difference in accessing hash variables from a form load binder and a form store binder?
Powered by a free Atlassian Confluence Open Source Project License granted to Joget Inc. Evaluate Confluence today.