Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Do attach your server log here with the relevant error.
You should see an exception being thrown from the Bean Shell Form Store Binder. This should indicate what is the issue with your bean shell script.
this error
ERROR 19 Oct 2020 10:26:39 org.joget.apps.form.lib.BeanShellFormBinder - Error executing script
Sourced file: inline evaluation of: ``import java.sql.Connection; import javax.swing.*; import java.sql.PreparedStatem . . . '' : Attempt to resolve method: error() on undefined variable or class name: LogUtil : at Line: 92 : in file: inline evaluation of: ``import java.sql.Connection; import javax.swing.*; import java.sql.PreparedStatem . . . '' : LogUtil .error ( "Your App/Plugin Name" , ex , "Error storing using jdbc" )
As pointed out by the log, you are attempting to use LogUtil utility class methods, but only missing the import.
Do import the LogUtil class in your script.
Hi everyone! I use bean shell form binder to store data but got "Error executing script" when submit. What I am trying to do is
1) Requester will select a few PIC using grid form and their names and plants will be stored in a text field as an array.
2) In PIC inbox, everyone can see the request submitted but only PIC that name contains in the array can do checking else the system will show message.
3) After one PIC do checking he can still see the inbox. Since a few PIC need to do checking, I want to avoid those who have submitted to submit again as it will cause duplicate ticket number.
The request status will be controlled by requester. If the status still 'Active' all PIC can see the inbox, however, if 'Inactive' then only the inbox will disappear.
4) The logic in coding that I am trying to do is:
Eg "RBT - 01 : Plant A"
So far what I have done
Really need help, been doing this for days but still error. Thank you!