Why is it that the Expression variable names in the delegates have to be exactly the same as in the xml?
The user guide just shows how the delegate is supposed to look like but does not explain why or anything.
for example:
public class HelloWorldDelegate implements JavaDelegate {
private Expression personName;
public void execute(DelegateExecution execution) {
String nameValue = (String)personName.getValue(execution);
}
}
xml:
<activiti:field name="personName">
<activiti:string>Activiti User</activiti:string>
</activiti:field>