Defining ManagedBean in Camunda Modeler [Error: Cannot resolve identifier]

Hi,

is it possible to assign managed beans in the expression part of for example an exclusive gateway.

On the true path I typed in: ${bestellungVerifizierenController.pcVorhanden}
and in the false path: ${!bestellungVerifizierenController.pcVorhanden}

I get the error: Cannot resolve identifier ‘dummyController’

Any hints? Is it even possible to access the ManagedBean?

Thanks in advance.

Hi @Bayqush,

there is an example in the getting started guide on how to use spring and also on how you can invoke a Spring Bean.

Is pcVorhanden maybe a method? In this case you might have forgotten to add the parentheses.

Best,
Johannes

pcVorhanden is a ManagedBean property. My project leans on the JEE7 tutorial of camunda. In the step where the business logic is declared as an expression in the exclusive gateway. Motivation is that I didn’t want to use an entity property but a managed bean property with a lifetime… I don’t use Spring but JSF-managed Bean…

Hi @Bayqush,

Sorry for the misunderstanding that was my bad. Unfortunately, ManagedBeans are not supported in Camunda so far. However, you could just use CDI annotation.

Best,
Johannes