Hi Everyone, i am new to Camunda. And i am getting some problems deploying my test bpmn.
Main logic is to start process go to External implementation on Java get some result,check it . I can pass variables to JAVA, also Java process is working and writing logs. I am placing value to output like that
HashMap<String, Object> resultmap = new HashMap<String, Object>();
resultmap.put(“test_result”,“ok”);
externalTaskService.complete(externalTask, resultmap) ;
And try to figure it out with (Flow-> Condition-> Expression)
${test_result != ‘ok’}
but i am getting an error,
“ProcessEngineException”,“message”:“condition expression returns non-Boolean: result has class java.lang.String and not java.lang.Boolean”}
What is the problem? Thanks in advance.