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:http://localhost:8080/activiti-rest/service/process-instanceBody (JSON)
{
"processDefinitionKey":"SendWelcomeEmailToCustomer",
"hasEmail":"true",
"hasEmail_type":"boolean"
}Excerpt from bpmn xml:
<startEvent id="startevent1" name="Start" activiti:initiator="employeeName">
<extensionElements>
<activiti:formProperty id="hasEmail" name="Has Email" type="boolean" required="true"></activiti:formProperty>
</extensionElements>
</startEvent>