Related Articles
Groovy Script SQL Connection Bonitasoft
Below is the SQL Connection for a Groovy Script for a SELECT Command in Bonitasoft BPM import groovy.sql.Sql;def host = “localhost”;def user = “bonita”;def pass = “bpm”;def schema = “bonita_journal”;def query = “SELECT * FROM BN_USER where USER_PRO_EMAIL_=’${email_Address__}’ limit 1”;def list=[];sql = providedscripts.BonitaSql.newInstance(“jdbc:mysql://${host}/${schema}”,user, pass, new com.mysql.jdbc.Driver())sql.eachRow(query,{row-> list.add(row.USER_USERNAME_)}); IdentityAPI api = apiAccessor.getIdentityAPI();User userObj = api.findUserByUserName(list[0]);User manager1 […]
Which is the Best Programming Language? Poll #1
We had ran a Poll on the blog, for Which is the Best Programming Language, for 3 weeks and we have received 109 votes for this, and with out hesitation PHP has won the Poll with 43 votes i.e., 39% of the total votes received. I personally feel that Java is the Best programming language […]
Unzip using 7zip on Linux Centos
7z x filename.zip extract all zip archives 7z x *.zip to unzip on specific location or folder 7z x filename.zip foldername 7z x *.zip foldername Install 7zip on Linux Centos yum install p7zip Install 7zip on Linux Ubuntu sudo apt-get install p7zip a to archive $ 7za a myfiles.7z myfiles/