Accessing Java class from starting form

Hi,

I’m able to inject variable from java into user tasks forms,
but i can’t find how to inject constants (let’s say an enum for a select) into a start form.

I don’t want to fetch with an $http.get.

Thanks,

@pjuvigny Can you use a script in your form to call the variable? Use a function in your class to return the variable(s) you want to put into your form?

In the start-form, when you want something from the back-end you have no other option than do it with a rest call.

Ok, that’s what i feared.
Thx for your answers.