Request for a sample process that gets the value from Java Object into the Bonita UI Form- Bonita 7.3.3 Subscription

Hi
I am trying to get the value from the Java Object to be shown into the Bonita UI. I am able to fetch the result from the process variable; However, my use case is to get the values from the java object directly.

Request to let me know the procedure to fetch the result from the java Object or a sample .bos will be appreciable.