integrating a jar file in component library


I'd like to integrate my own simple class in bizagi process.

public Test {

public boolean isTest(){

return true;



Attached as expression to service task

I followed this example -

then tryied to call the method isTest with following code:

var temp = new Test();

Me.setXPath("BA_Auftragsannahme.BoniGegeben", temp.isTest());

and getting this error: "Variable Test has not been declared"

Bizagi Studio Version 10.6

java code compiled with jre 1.6 u45