Thanks for the clarification. There was another example which guided me on how to use the ftl forms.
Since there are different ways to do the same thing ( using Java code, hardcoding in XML, using UI forms )
I was a bit confused. Thanks to this example I was able to download and run it.
https://community.jboss.org/people/bpmn2user/blog/2011/02/21/jbpm5-example-for-forms-with-variables
Thanks to bpmn2user for the excellent example and the explanations.