1 Reply Latest reply on Mar 17, 2011 9:37 AM by dekadence

    jBPM5 - other form templates than freemarker ones

    strykow

      Hi everyone,

       

      is it possible to use in jBPM5 any other form template engine than freemarker one? If so, how to set it up?

      Best regards,

       

      Sergio

        • 1. jBPM5 - other form templates than freemarker ones
          dekadence

          Hi, that depends on your application. If you use JBPM console as task service client, than you can only use freemarker templates. If you write your own task client, you can use any other template/language/format to describe the Human task Interaction. For example, you could have an XML file describing the task parameters for every human task in your process. You can store them in Guvnor repository and when you want to process the human task, you would load the particular xml file from repository and generate the UI based on it. See the screencast from Kris on guvnor integration: http://people.redhat.com/kverlaen/jBPM5-guvnor-integration.swf . This however requires to implement the custom service client. You can have a look at jbpm-gwt-console source files to see how the JBPM console processes the freemarker templates and interacts with task service.