Can't use ProcessTask in cmmn


#1

I want to use process task in cmmn but when i try to implement this element+case executor i got this error:


here is my cmmn:
<?xml version="1.0" encoding="UTF-8"?>
<cmmn:definitions xmlns:dc=“http://www.omg.org/spec/CMMN/20151109/DC” xmlns:cmmndi=“http://www.omg.org/spec/CMMN/20151109/CMMNDI” xmlns:cmmn=“http://www.omg.org/spec/CMMN/20151109/MODEL” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:camunda=“http://camunda.org/schema/1.0/cmmn” xmlns:di=“http://www.omg.org/spec/CMMN/20151109/DI” id=“Definitions_127qbgt” targetNamespace=“http://bpmn.io/schema/cmmn” exporter=“Camunda Modeler” exporterVersion=“2.0.3”>
<cmmn:case id=“loan_application11” name=“loan_application”>
<cmmn:casePlanModel id=“CasePlanModel_1” name=“loan_application”>
cmmn:extensionElements
<camunda:caseExecutionListener event=“complete” class=“org.camunda.bpm.getstarted.cmmn.loanapproval.LifecycleListener” />
</cmmn:extensionElements>
<cmmn:planItem id=“PlanItem_1” name=“choose process” definitionRef=“HumanTask_0kzn8fm”>
<cmmn:itemControl id=“PlanItemControl_1aztr3v”>
<cmmn:manualActivationRule id=“ManualActivationRule_12fissj”>
<cmmn:condition id=“Expression_1vbpre8”>${false}</cmmn:condition>
</cmmn:manualActivationRule>
</cmmn:itemControl>
</cmmn:planItem>
<cmmn:planItem id=“loan_application1” definitionRef=“ProcessTask_1iv662u”>
<cmmn:entryCriterion id=“EntryCriterion_13vfq9y” sentryRef=“Sentry_1nkutat” />
</cmmn:planItem>
<cmmn:sentry id=“Sentry_0y7kjwl”>
<cmmn:planItemOnPart id=“PlanItemOnPart_1tcuv5b” sourceRef=“loan_application1”>
cmmn:standardEventcomplete</cmmn:standardEvent>
</cmmn:planItemOnPart>
</cmmn:sentry>
<cmmn:sentry id=“Sentry_1nkutat”>
<cmmn:planItemOnPart id=“PlanItemOnPart_0hk103h” sourceRef=“PlanItem_1”>
cmmn:standardEventcomplete</cmmn:standardEvent>
</cmmn:planItemOnPart>
</cmmn:sentry>
<cmmn:humanTask id=“HumanTask_0kzn8fm” camunda:formKey=“embedded:app:forms/chooseProcess.html” camunda:assignee=“demo”>
<cmmn:extensionElements />
</cmmn:humanTask>
<cmmn:processTask id=“ProcessTask_1iv662u” name=“Stamp” isBlocking=“false” processRef=“loan_application1”>
cmmn:extensionElements
<camunda:caseExecutionListener event=“complete” class=“org.camunda.bpm.getstarted.cmmn.loanapproval.process.Stamp” />
</cmmn:extensionElements>
</cmmn:processTask>
<cmmn:exitCriterion id=“ExitCriterion_1yugdvn” sentryRef=“Sentry_0y7kjwl” />
</cmmn:casePlanModel>
</cmmn:case>
cmmndi:CMMNDI
<cmmndi:CMMNDiagram id=“loan_application” name=“process (test)”>
<cmmndi:Size width=“500” height=“500” />
<cmmndi:CMMNShape id=“DI_CasePlanModel_1” cmmnElementRef=“CasePlanModel_1”>
<dc:Bounds x=“30” y=“23” width=“1022” height=“501” />
<cmmndi:CMMNLabel />
</cmmndi:CMMNShape>
<cmmndi:CMMNShape id=“PlanItem_0rwan8h_di” cmmnElementRef=“PlanItem_1”>
<dc:Bounds x=“85” y=“189” width=“100” height=“80” />
<cmmndi:CMMNLabel />
</cmmndi:CMMNShape>
<cmmndi:CMMNShape id=“ExitCriterion_1yugdvn_di” cmmnElementRef=“ExitCriterion_1yugdvn”>
<dc:Bounds x=“1042” y=“215” width=“20” height=“28” />
<cmmndi:CMMNLabel />
</cmmndi:CMMNShape>
<cmmndi:CMMNShape id=“PlanItem_03e4xbc_di” cmmnElementRef=“loan_application1”>
<dc:Bounds x=“322” y=“189” width=“100” height=“80” />
<cmmndi:CMMNLabel />
</cmmndi:CMMNShape>
<cmmndi:CMMNEdge id=“PlanItemOnPart_1tcuv5b_di” cmmnElementRef=“PlanItemOnPart_1tcuv5b” targetCMMNElementRef=“ExitCriterion_1yugdvn” isStandardEventVisible=“true”>
<di:waypoint x=“422” y=“229” />
<di:waypoint x=“679” y=“229” />
<di:waypoint x=“1042” y=“229” />
cmmndi:CMMNLabel
<dc:Bounds x=“643” y=“201” width=“51” height=“12” />
</cmmndi:CMMNLabel>
</cmmndi:CMMNEdge>
<cmmndi:CMMNShape id=“EntryCriterion_13vfq9y_di” cmmnElementRef=“EntryCriterion_13vfq9y”>
<dc:Bounds x=“312” y=“219” width=“20” height=“28” />
<cmmndi:CMMNLabel />
</cmmndi:CMMNShape>
<cmmndi:CMMNEdge id=“PlanItemOnPart_0hk103h_di” cmmnElementRef=“PlanItemOnPart_0hk103h” targetCMMNElementRef=“EntryCriterion_13vfq9y” isStandardEventVisible=“true”>
<di:waypoint x=“185” y=“229” />
<di:waypoint x=“249” y=“229” />
<di:waypoint x=“249” y=“233” />
<di:waypoint x=“312” y=“233” />
cmmndi:CMMNLabel
<dc:Bounds x=“223” y=“221” width=“51” height=“12” />
</cmmndi:CMMNLabel>
</cmmndi:CMMNEdge>
</cmmndi:CMMNDiagram>
</cmmndi:CMMNDI>
</cmmn:definitions>

and here is my Execution Class:
package org.camunda.bpm.getstarted.cmmn.loanapproval.process;
import org.camunda.bpm.engine.delegate.CaseExecutionListener;
import org.camunda.bpm.engine.delegate.DelegateCaseExecution;
import org.camunda.bpm.model.cmmn.CmmnModelInstance;
import org.camunda.bpm.model.cmmn.instance.CmmnElement;

public class Stamp implements CaseExecutionListener{
	public void notify(DelegateCaseExecution caseExecution) throws Exception {
		// TODO Auto-generated method stub
		 CmmnModelInstance modelInstance = caseExecution.getCmmnModelInstance();
		    CmmnElement cmmnElement = caseExecution.getCmmnModelElementInstance();
		    System.out.println("here is Id:"+cmmnElement.getId());
	}
	
	}

I am completely new to cmmn and here are several things i want to know:
1.How should i configure tenant id?
2.if i will have to use something like dmn table how should i implements this in cmmn?
3.How should i map several process in cmmn?