2 Replies Latest reply on Feb 22, 2013 3:04 AM by elbocia

    Registering and executing Custom Work Items in Guvnor

    elbocia

      Hi,

      I want execute a process that includes custom work item based tasks.

      I have registered my work items but I don't know:

      1) how and where can I load the custom java class via guvnor web interface?

      2) after this, can I execute this process from JBpm Console?

       

      Is there a tutorial about this subject?

      I have read the documentation http://docs.jboss.org/jbpm/v5.4/userguide/ch.domain-specific-processes.html and saw this video tutorial but I don't find answer to our questions

      http://vimeo.com/30857949

      http://vimeo.com/26126678

       

      I use JBPM 5.4 on JBoss 7.1.1

       

      Thank you in advance

      elbocia

        • 1. Re: Registering and executing Custom Work Items in Guvnor
          shizanu

          I am not sure wether its exactly the same on your version as I am using 5.3 with EAP6.0 server, but I have to export my class implementing workItemHandler interface into a .jar and then copy it to the server library.

          Then I have to tell the server to load the workItemHandlers on startup. Chapter 14.2.2 explains how to do this. Note that you have to restart your server to load changed work item handlers.

           

          Within Guvnor you only create a custom work item definition and put your new custom service tasks into your process. You do not need to upload your workItemHandler within guvnor. Chapter 14.2.1 explains how to create a custom work item definition.

          • 2. Re: Registering and executing Custom Work Items in Guvnor
            elbocia

            Thank you for answer, now I test your suggest