5 Replies Latest reply on Mar 7, 2013 7:51 AM by salaboy21

    Using jBPM to create process workflow on web page

    ganeshtakawale

      Hello,

       

      We found jBPM an interesting to fit in our requirement.

      As specified in docs, the process flow can be created in one of the following way:

      1. 1.    Using the graphical process editor in the Eclipse plugin
      2. 2.    As an XML file, according to the XML process format as defined in the XML Schema Definition in the BPMN 2.0 specification.
      3. 3.    By directly creating a process using the Process API.

       

      We are more interested in the specifying the XML schema for our process and have the process workflow created on Web page. The technology we need to use is Java.

       

      So we would like to know :

      • Whether jBPM provides the functionality to render flowchart on web page?
      • Does jBPM creates the JPG/BMP image of process and renders on web page?

       

      Based on your reply, It would help us whether we can go for jBPM or not.

       

       

      Thanks & Regards

      Ganesh

      +91-9011038429

        • 1. Re: Using jBPM to create process workflow on web page
          salaboy21

          Hi, if your goals is to create the bpmn2 xml file in a web editor you should use the process designer, which will allow you to graphically build your process and in the back it will generate the bpmn2 xml file. It will also allow you to export the diagram as a PNG/SVG file, then converting it to a JPG/BMP should be straight forward.

           

          Cheers

          • 2. Re: Using jBPM to create process workflow on web page
            ganeshtakawale

            Thank for the reply  Mauricio Salatino. Will go through the process designer.

             

            Actually we do not want to save the flowchart in any image format.

             

            Our requirement is as below:

            -  Actually we want to show clicak guideline as a flowchart  on web page. Clinical guideline is different stages of patient.

            -  Define schema in XML file and render it as flowchart blocks on web page.

            - After rendering user should be able to add and delete flowchart controls and the same shld be saved again to the same xml file.

             

            Will process designer help in achieveing this?

             

             

            Cheers

            • 3. Re: Using jBPM to create process workflow on web page
              salaboy21

              I don't understand what your requirements are.

              Do you want to have executable processes? or just the the diagrams for documentation purposes? You mention JPG and BMP which are image formats, but then you said that you don't want to save the flowchart in any image format.

               

              I don't understand what this is: "Actually we want to show clicak guideline as a flowchart  on web page" I'm guessing that is some kind of clinical flowchart for a patient, which makes me thing that you want to execute the process for each patient.

               

              Define schema in XML file and render it as flowchart blocks on web page -> What exactly do you want to render?

               

              After rendering user should be able to add and delete flowchart controls -> What do you mean by flowcharts controls?

               

              Cheers

              • 4. Re: Using jBPM to create process workflow on web page
                ganeshtakawale

                Define schema in XML file and render it as flowchart blocks on web page -> What exactly do you want to render?

                It means you define the clinical guideline for a patient as a XML schema.  Then jBPM engine should dynamically create the flowchart on webpage as per teh schema. It should display the flowchart.

                 

                After rendering user should be able to add and delete flowchart controls -> What do you mean by flowcharts controls?

                Flowchart controls means each node of flowchart i,e the rectangluar box , decision box etc.

                The funcitonality like, user should be able to delete any box on the fly and schema shld be updated. If user want to modify  guideline, the same can be added/deleted on the fly.

                 

                cheers



                 

                 


                • 5. Re: Using jBPM to create process workflow on web page
                  salaboy21

                  Ganesh,

                  Look at the jbpm process designer and see if that it does all what you need.

                   

                  Just for you to know, there is no need to create the XML schema by hand, you can just draw the process and it will automatically generate the XML file for you.

                   

                  Cheers