using java object in bonita 7

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 :slight_smile:

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

Hi Sean ,

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

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

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

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