Task form Error: condition expression returns non-Boolean: result has class java.lang.String and not java.lang.Boolean

I’m getting the following error and have not been able to crack the code. I sure would appreciate a second pair of eyes.

Thanks in Advance,

**An error happened while submitting the task form** **:** Cannot submit task form 7a611e9d-1362-11eb-9d04-0a0027000003: condition expression returns non-Boolean: result has class java.lang.String and not java.lang.Boolean

Here is the BPMN Code;

BPMN-Call-Processing-Debug-Test.bpmn (5.1 KB)

Hi @GChester1,

the expression on the Error path is wrong. You have to add the || in the expression, not between them:

${why_was_call_not_ans == 'test_call' || why_was_call_not_ans == 'unknown'} 

Hope this helps, Ingo

That makes sense… Thanks for your efforts. I’ll get this tested and report back.

Thanks again.

Ok, this did solve the problems.

Many Thanks!