6 Replies Latest reply on Nov 15, 2013 8:43 AM by yogesh02

    Leave Application using jBPM

    jay4smile

      Hello All,

       

          I want to develop one Leave Application. Using jsp servlet and jBPM.

      Scenario is

       

      If Leave Applicant is allocated into a project then his leave request will be forwarded to PL otherwise it will forwarded to TL.

      and TL or PL can Approve or Reject that leave request.

       

      I am aware of WorkItemHandler n all but confused about how to start from

      How intimation goes to TL or PL and How to develop a workflow based on requirement!!

       

       

      Please help me.

       

       

      Thanks and Required,

       

      Jay Patel

        • 1. Re: Leave Application using jBPM
          maazmuqri

          Hi Jay Patel,

           

          I also want to develop same application. Did you find the solution ? or any alternative ?

          Kindly help me please.

           

          Regards,

          Maaz

          • 2. Re: Leave Application using jBPM
            jay4smile

            Hey Maaz,

             

                       I have developed Application with Custom Work Handlers.

             

            But I want to integrete Human Task also. And I was unable to integrete Human Task with my work flow.

            I already post various issue while integreting Human Task. Please refere below Link...!!

             

            https://community.jboss.org/message/748980#748980

            • 3. Re: Leave Application using jBPM
              spascal

              Hi,

               

              I developed an experimental jbpm 5 integration for java ee 6 web applications.

              You will not need the jbpm-admin-console or the guvnor.

              Have a look on my attached process. The prozess is integrated in the example web application and i think it is what you need.

               

              You will find a webdemo on my jboss-openshift-server and the code on github.

              The example runs with the local human-task server on jboss as 7.1.

               

              The jbpm5 integration and example web application: https://github.com/akquinet/flux (Attention, it is experimental, because it use jbpm 5.4 Snapshot)

              The online demo on openshift: http://jbpm5demo-testarea.rhcloud.com/myHoliday/ (it can be, that the server need a little time to start)

               

              requestForHoliday-image-lanes2.jpg

              • 4. Re: Leave Application using jBPM
                thomas.setiabudi

                Hi Pascal S,

                 

                Nice online demo you have there.

                 

                Just curious though. since you said that you are not using the jbpm-console, how do you get the input fields when you start a human task?

                 

                Currently what I do is using the jbpm-console REST API, and call "/gwt-console-server/rs/form/task/{taskId}/render" to get the input form, and then display the input form in my application.

                But how do you the same thing without using the jbpm-console?

                 

                 

                Regards,

                Thomas Setiabudi

                • 5. Re: Leave Application using jBPM
                  spascal

                  Thanks for your reply.

                   

                  I need two things for that.

                  First, I have to implement an getter-setter-object called taskdataobject to connect the form with jbpm.

                  After that I can design my form with a framework like richfaces.

                   

                  Have a look on the the example code in the process-module.

                   

                  The connection between forms and jbpm does my experimental jbpm5 integration.

                   

                  Regards,

                  Pascal

                  • 6. Re: Leave Application using jBPM
                    yogesh02

                    Hi Pascal,

                     

                    Have you implemented workflow monitor to graphically monitor your process, since you are not using jbpm-console??

                     

                    If yes than please share some views about that.

                     

                    Thanks in advance