Unknown property used in expression Cause: Cannot resolve identifier

I don’t know exactly to which category my question relates, so I’m asking here.

I’m using Camunda Engine in my Spring boot app (@EnableProcessApplication enabled). I can deploy bpmn, and then complete tasks of deployed process. So far so good.

But when I’m trying to complete my task using camunda-bpm-platform Docker image, I get an error message in UI.

**An error happened while submitting the task form** **:** Cannot submit task form 0866b1b7-e4ed-11e8-a1f6-0242ac130004: Unknown property used in expression: ${RES.execute(execution, "changeClaimOperator")}. Cause: Cannot resolve identifier 'RES'

It seems like my bean didn’t register correctly. Again, it works well, when I complete same task using Java API.

What am I doing wrong?

This is how my Java class looks like:

@Component(value = “RES”)
@Slf4j
public class RequestExecutionService {

public void execute(DelegateExecution execution, String methodName) {

log.info(“gotcha!”);

}
}

How are you deploying into the docker image ? What is your packaging ? Which image are you using etc