10-24-2014 10:38 AM
<?xml version="1.0" encoding="UTF-8"?>
<definitions id="taskAssigneeExample"
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
targetNamespace="http://www.bpmnwithactiviti.org/loanrequest"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:activiti="http://activiti.org/bpmn">
<process id="xxxx">
<userTask id="evaluateLoanRequest" name="Evaluate Loan Request"
activiti:assignee="fozzie">
<extensionElements>
<activiti:formProperty id="customerName" name="Customer Name"
expression="${loanApplication.customerName}" writable="false" />
<activiti:formProperty id="income" name="Income of Customer"
expression="${loanApplication.income}" writable="false" />
<activiti:formProperty id="requestedAmount"
name="Requested Loan Amount" expression="${loanApplication.requestedAmount}"
writable="false" />
<activiti:formProperty id="creditCheckOk"
name="Outcome of Credit Check" expression="${loanApplication.creditCheckOk}"
writable="false" />
<activiti:formProperty id="requestApproved"
name="Do you approve the request?" required="true" type="enum">
<activiti:value id="true" name="Yes" />
<activiti:value id="false" name="No" />
</activiti:formProperty>
<activiti:formProperty id="explanation" name="Explanation" />
</extensionElements>
</userTask>
</process>
</definitions>
<activiti:formProperty>
for requestApproved with type enum has nested <activiti:value>
tag. But it is not validated in eclipse XML editor. The error message is:
cvc-complex-type.2.1: Element 'activiti:formProperty' must have no character or element information item [children], because the
type's content type is empty.
10-25-2014 01:32 PM
10-27-2014 07:26 AM
10-27-2014 08:42 AM
10-28-2014 06:20 AM
10-28-2014 06:32 AM
10-31-2014 11:02 AM
10-31-2014 11:37 AM
11-03-2014 05:06 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.