AnsweredAssumed Answered

REST API JSON boolean type

Question asked by vasil on Jan 4, 2012
Latest reply on Jan 5, 2012 by trademak
Is there any example that will guide me how to use correctly boolean type with REST API and JSON.

I face this error:
Error occurred while executing job: condition expression returns non-Boolean: true (java.lang.String)
org.activiti.engine.ActivitiException: condition expression returns non-Boolean: true (java.lang.String)

I start a process via REST API:
Body (JSON)

Excerpt from bpmn xml:

<startEvent id="startevent1" name="Start" activiti:initiator="employeeName">
        <activiti:formProperty id="hasEmail" name="Has Email" type="boolean" required="true"></activiti:formProperty>