Hello,I'm playing right now a little bit with the loanrequest.bpmn20.xmlMy question is now, is it possible to add a new variable to my object ?At first their are some variable which are created: <startEvent id="theStart">
<extensionElements>
<activiti:formProperty id="name" name="Name" required="true" type="string" />
<activiti:formProperty id="emailAddress" name="Email address" required="true" type="string" />
<activiti:formProperty id="income" name="Income" required="true" type="long" />
<activiti:formProperty id="loanAmount" name="Loan amount" required="true" type="long" />
</extensionElements>
</startEvent>
Then the variable are "written" in the new object which is created:<serviceTask id="createApplication" activiti:class="org.CreateApplicationTask" />
How can I write NOW a new variable in this object ? I tried it with this:<activiti:formProperty id="anotherName" name="Add another name" expression="#{loanApplication.addName}" required="true"/>This is not working. Maybe I used it wrong. What should be the right command?And how can I override some existing POJO-variable?If I set writable on true, I get an error: expression="${loanApplication.creditCheckOk}" writable="true"/>Best regards!