groovy scripts

Groovy script that count the number of lines in a files in my process

Hi everyone ,

im trying to count the number of lines in a document in my process . My script is :
def lines = 0
doc_Integrateur_Enseignes_CSV.eachLine {



I'm trying to generate a QRCode (in email , png file , any method is accepted), but I'm not able to get it working. I'm using Bonita Community 6.3.9.

importing QRCode connector fails. then I'm trying with the following groovy script