using java object in bonita 7

1
0
-1

Hi ,

I want to know how to use java objects in bonita 7 like in this video

"https://www.youtube.com/watch?v=xJ5lVljCu3k"

waiting fo rthe response :)

1 answer

1
0
-1

This will work exactly the same in Bonita 7...no different, except if you are using the UI designer then you will have to set up the variable to display field mappings...

regards

Comments

Submitted by vidya.muniyappa on Mon, 08/03/2015 - 09:44

Hi Sean ,

Can you tell me how to make use of java classes and java menthods an all .. for individual variables ...

Submitted by Sean McP on Mon, 08/03/2015 - 10:14

Hi Vidya,

not sure what you mean. The video showed everything where a and b are individual variables, just encapsulated by the MyClass.

It would be like creating a class called

myCompany var a var b var c

and in my code using

a.get()

this is a single variable...

maybe a little more information?

regards

Submitted by vidya.muniyappa on Mon, 08/03/2015 - 10:36

Thats not my question ,

While generating form , for those text fields in "data" there will be an option called "Output operations " there i can select my java class .. and the set method or get method ..

but in bonita 7 we have UI page.. there how can i make use of my class n get methos and set methods

Submitted by Sean McP on Mon, 08/03/2015 - 10:43

Ahhh, got it...

I think (not tested) you have to create a process (temporary) variable which you assign to the UI which returns the data. You then use the Output Operation to set() the class variable from this temporary variable.

Hope that helps, regards

Notifications