If you use the jBPM Web Designer (http://www.jboss.org/jbpm/components/designer) it can generate the process and user task forms for you automatically. They are stored in Guvnor as assets in the same package as your process. See more about this in the docs: http://docs.jboss.org/jbpm/v5.2/userguide/ch10.html#d0e3195
Hope this helps.
Than you so much Tihomir.I'm trying on that.By the way,I'm struggling with gwt-console war file deployed in BPM console.Could you please suggest me.
I'm using JBPM 5.1 with JBoss 5.1.0GA..I dowloaded JBPM source code gwt-console,gwtconsole-server from https://github.com/bpmc/bpm-console.I followed instructions and succesfuly made 2 war files gwt-console.war,gwt-console-
But,When I'm deploying them in my JBOSS,it is generating exception and I'm unable to open the console.The server log is
2012-01-10 12:47:17,303 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/default-bpm-console
2012-01-10 12:47:18,156 ERROR [org.reflections.Reflections] (main) could not create Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Dir using org.jboss.errai.bus.server.service.metadata.VFSUrlType from url vfszip:/D:/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/gwt-console.war/WEB-INF/classes/
Please help me why it is generating that exception.Please