Submitted by donghee.baik on Wed, 05/15/2019 - 21:53
Hello, I created a groovy script connector in order to read a CSV file.
With a local file, I can get the result without error; however, I could not read the CSV file with document url as follows. The url is correct and tested already.
It returns null.
Would you someone know the reason why? The filename in the script is not valid?
Any help would be appreciated.
Thanks in advanced.
Submitted by stefandebruijn on Sat, 01/09/2016 - 09:00
Hi all,
I am using a sql update statement like this in a Groovy Out connector:
"sql.execute("UPDATE table SET col3=$bdmvar3, [and another 40 variables...].WHERE col1=$bdmvar1")"
The length of this statement is approximately 1300 characters. When I try to execute it, I get this syntax error:
Caused by: org.bonitasoft.engine.connector.exception.SConnectorException: java.util.concurrent.ExecutionException: org.postgresql.util.PSQLException: ERROR: syntax error at or near "is" Position: 588
Submitted by etchegaray on Sun, 09/06/2015 - 16:45
I use the following Groovy script to retrieve data stored in the BDM. In the BDM I defined a "business Object" called "Rutas" that has two "attributes", "nombreRuta" and "valor".
The script I use is:
import com.company.model.Rutas
List rtSubir = rutasDAO.findByNombreRuta("rutaSubir",0,100)
return rtSubir
But I fails. I think that left me something, but I can not to find out what it is.
Any suggestions?. Thank you.
You can edit the script without recompiling neither redeploying the process on the server
* Use as a form widget connector, it allows you to edit the script and refresh the screen to see the result
* Use as a Form transiant data connector, it allows you to edit the script and refresh the screen to see the result
* Use as an activity connector, it allows you to edit the script, restart a new process instance and see the changes
We have the exception listed below while calling a groovy script connector in a task. In glassfish3\glassfish\domains\domain1\bonita-server-v5.7.2\server\default\tmp there are scripting-5.7.2.jar listed. Is there any other reference to the groovy jars? Where do we have to put the classpath references?
Thanks in advance
i m using bonitasoft community 6.3
on confromation i just downloaded defauly html generated. and add table on it , but now i want to display some process variable's data into that table .
how can i get this process variable data from that html
Submitted by etchegaray on Wed, 06/04/2014 - 19:18
Bonita BPM 6.3.0.
In the form "output operetions" from the "grovy" connector, the button "add" disappears when the number of outputs is large. Would require a vertical scroll bar.
I am a newbee to Bonita BPM and am trying to create a groovy script connector. I dont get errors when i test the connector as i manually check dependencies but when i run the process it fails as it cannot find the jar files i think. How do i get my process to get dependencies at runtime?