Groovy Script

Groovy Error - Groovy Script not found!

Windows 8.1, Java 8

I have a piece of Grrovy Script under Development -> Manage Groovy Scripts

which works perfectly in one process but in the other it fails with the following:

depends on GubeGetGubeText is neither defined in the script nor in dependencies

The second one fails as well with the same message...

Why can my Groovy Script not be found?

thanks and regards Seán

Stop a process instance


I'm trying to do abort button (terminate the task incessantly) if user are accidentally select wrong task to do. I've been looking up in Bonita Documentation and found this:

final ProcessAPI processAPI = TenantAPIAccessor.getProcessAPI(apiSession); processAPI.cancelProcessInstance(processInstanceID); - See more at:

My question:

User Function problem - works in one pool but not in another?

Hi there,

this is really - really strange...

I have one diagram with two pools, I also have a couple of User Defined Groovy Scripts which show up in Script Editor Functions List...

Both pools have a connector Script with exactly the same code...

In one pool the script calls the function and works correctly

in the other pool I get the following error message...

Email Task URL to user

at the end of TASK 1 i create one email connector

in email body , i switch to script editor and as per documentation i paste following code ,

Problem with Groovy Script

I'm new to Bonita. I have a problem when I created my forms of this type. “groovy script values not compiling with error the type java.lang.Object can not be resolved" It is on the elements of select type. I get my data (list of options) to display in the select. Could someone tell me what to do to avoid this error. My solution compiles but with errors. I'm using Bonita 6.2.6

How to give user to jump into dashboard

I want to add one button in form , when user click on it , it will jump to its portal, how to archive it .

How to Get UserId of selected user in form .

I create one form with select field , and add initial value is list of user in that select field .

UserCriterion Error When I try to fetch/return list of users

in Select field , i write one groovy script to fetch initial value : list of available users

How to Create Document in PDF with forms All content

I create one from with all employee detail now i want to add action on submit button .

when it clicked : document is generated of all detail and email to the employee email id

Pl can i know how to achieve it . how to generate document .

Thanks kandarp

Groovy Script in output field operation in 6.2


I m trying to migrate from 6.0.o to 6.2.5.

In 6.0, in a output operation data field i have a process (object) variable modfied through a setter:

return "";

It returns a String to a String process variable. This does works in 6.0 (p_solicitud is actualized).

In 6.2, it doesn t work, p_solicitud isnt actualized.

Re-typing the code doesnt solve the problem,

What do i miss ?

Bes regards