10 Replies Latest reply on Oct 6, 2011 11:11 PM by ylq2250

    The bpmn2 process editor and the guvnor web process editor can`t be compatible  freely?

    ylq2250

      i design a process using the bpmn2 process editer(not the bpmn2 visual editor) which contain a Multiple Instances node and then add it into the guvnor,

       

      then i login into  the guvnor and open the process with the web process editor, i just change the start node`s localtion of it and save it,  i go back to the

       

      eclipse and open the process ,now the problem is coming, the Multiple Instances node become the Embedded  Sub-Process node, how this happen?

       

      why ? is anybody come across this problem? or this a bug of the web process designer?

        • 1. Re: The bpmn2 process editor and the guvnor web process editor can`t be compatible  freely?
          heathcliff

          web editor isnt usable yet... None of my proc esses from guvnor dont run under jbpm. newer versions that are comming are even worse.

          • 2. Re: The bpmn2 process editor and the guvnor web process editor can`t be compatible  freely?
            ylq2250

            thanks for your reply.

             

            if the bpmn2 process editor and the web process editor dosen`t  compatible freely, so the guvnor just manager the process definitions and the rules assets,it is  too havery to  bring  the guvnor into our project,the web process designer is so wonderful tools,if it is as what you say , i feel so sad!

             

            can anybody give me some suggestion about the problem i come across above, i want to use both  the web process editor and the jbpm2 process editor to  designer one  process, if they work compatiblly, so the devloper can modify the process definition by opening browser not with the eclipse .

            • 3. Re: The bpmn2 process editor and the guvnor web process editor can`t be compatible  freely?
              heathcliff

              web designer loads xml of your bpmn process but than makes its own ids and names etc and than saves it its own way. To have full controll you need to wait for web designer to be ready or edit xml manualy. Best is the mixture of using eclipse designer and web designer... this sucks I know.

              • 4. Re: The bpmn2 process editor and the guvnor web process editor can`t be compatible  freely?
                tsurdilovic

                Hi ylq2250 kun,

                 

                 

                the jBPM Eclipse Editor and the Web Designer both produce valid BPMN2 that is per the BPMN2 specification. They do however use different API, Eclipse editor uses the jBPM built-in parser, whereas the web designer uses eclipse.bpmn2 (http://wiki.eclipse.org/MDT-BPMN2). The produced BPMN2 of those editor is somewhat different (different namespace used, different id-creation strategy) but they should be able to be used interchangeably...we have and keep putting alot of work into it, so having guys like Adam above just spew Fud about it is a little discouraging, but he has the right to his opinions.

                 

                Can you please post your BPMN2 with which you are running into issues with so we can test locally and provide fixes if necessary?

                 

                Currently, the Web Designer is strongly tied to Guvnor. You can however use Guvnor just as an asset repository and embed the editor into your own application(s) -- for more info see blog and video: http://blog.athico.com/2011/04/using-oryx-designer-and-guvnor-in-your.html. If there is anough user interest to create a stand-alone version of the designer, then that will happen too

                 

                Hope this helps.

                • 5. Re: The bpmn2 process editor and the guvnor web process editor can`t be compatible  freely?
                  tsurdilovic

                  Hi Adam,

                   

                  >> web editor isnt usable yet... None of my proc esses from guvnor dont run under jbpm. newer versions that are comming are even worse. <<

                  What you are saying has no weight to it, unless you can provide some specific examples. If you can gist or pastebin the processes you are running into it would help get them fixed. We have frequent releases of the designer and would like it if you can help us get it better for the future...

                   

                  >> web designer loads xml of your bpmn process but than makes its own ids and names etc and than saves it its own way. To have full controll you need to wait for web designer to be ready or edit xml manualy. Best is the mixture of using eclipse designer and web designer... this sucks I know. <<

                  The eclipse.bpmn2 API has it's own id creation strategy .. I agree that the default id's created are not very human-readable...which can be changed (please raise a Jira for it). However existing Ids of uploaded processes are not overwritten.

                   

                  Again, you make no sense with your statement (other than just sound off like someone who does not know what he is talking about) unless you can provide specific examples, which would help us get the web designer better for future releases.

                   

                  You are of course as anyone else interested more than welcome to contribute the the jBPM Web Designer if you wish.

                   

                  Thanks.

                  • 6. Re: The bpmn2 process editor and the guvnor web process editor can`t be compatible  freely?
                    ylq2250

                    thanks for Tihomir Surdilovic`s reply.

                     

                    i come across another problem while i try to make a demo process for you :

                    i`ve used the jBPM Eclipse Editor  designering a demo process which contain a Multiple Instances node  and the multiple Instances node contain a Reusable Sub-Process node , following is the screenshots :

                    testMainProcess.jpg

                    the sub-process is very simple that it is only contain a script node:

                    testSubProcess.jpg

                    so i add the two processes into gunvor ,and then i try to edit the testMainProcess in the web process editor(just rename the Multiple Instances node`s name),when i execute the "save changes" opetion,the modify didn`t apply,the background server program(tomcat application) occured the follow errors:

                    errors.jpg

                    is this the guvnor's or the web process designer`s problem? i can not modify the  testMainProcess in the web designer as this error. so i didn`t see the  Multiple Instances node changed into the Embedded Sub-process node.

                     

                    the problem which i reported yesterday that the two nodes has changed for each other is still exist, following is the process designer screenshots :

                    test11.jpg

                    the test11 process is still having the problem i reported yesterday.

                     

                    i`ll upload these three process definitions to you at the attachments,thus would you please make a test with these processes and help me  fixing the problems ? thank you very much.

                    • 7. Re: The bpmn2 process editor and the guvnor web process editor can`t be compatible  freely?
                      melc

                      Hello everyone....totally agree with Tihomir

                      we use Eclipse Editor and the Web Designer nicely together, web designer has become very stable and the fixes lately have become very rapid.

                      • 8. Re: The bpmn2 process editor and the guvnor web process editor can`t be compatible  freely?
                        tsurdilovic

                        Thanks, I will take a look at your example and raise Jiras if needed. The error in the console you pasted is Guvnor not being able to find the web designer under localhost:8080/designer. This is the default configuration, and if you tell us about your deployment setup, maybe designer is running on a different host/port/subdomain in your case? Check the latest docs on designer here: https://hudson.jboss.org/hudson/job/jBPM/lastSuccessfulBuild/artifact/jbpm-distribution/target/jbpm-5.2.0-SNAPSHOT-docs-build/jbpm-docs/html/ch10.html. It includes the configuration options on both the Guvnor and the Designer side which may help (10.4 Configuring Designer, specifically). What versions of Guvnor/Web Designer are you using? Are you using the jbpm-installer?

                        • 9. Re: The bpmn2 process editor and the guvnor web process editor can`t be compatible  freely?
                          heathcliff

                          there was one of my topics where I have posted 2 example differences. But they exeisted when using installer versions.

                           

                          Whe I have changed to some newer web designer version I remember (sth like 56) and I think it even couldnt save gatweway type. So After few such experiences I stopped using it.

                           

                          Every stabile version should be attached to installer etc so we know which one to use.

                           

                          Sorry for beeing discouraging but I'm writing  MA Thesis on BPM and long time ago I decided to use jBPM but for many months every release is continously discouraging me.

                           

                          - No WebService task as standard one, which is in specification as standard...

                          - jbpm-console doesnt support HumanTask WS specification, there is no JPA logging attached to console, no loggin of started/stopped of human task which is kinda essential, strange ant manipulation with server war package bacouse sb commited wrong persistence.xml to console server. I got an advise to not use it as this is only demonstrational product... cmon this suucks, every real bpms should have such console working. I am currently trying to modify it but as i dwell deeper i get to gwt-console* packages that jbpm console depands and i cnat find any project page for it so i need to download sources from gerpcode and try to make it all manualy... so jbpm console depands on different jars which should be available as projects with jbpm console souces to be freely modified....

                          - eclipse bpmn2 plugin (not the one from isntaller, and I know it now you who is responsible for this plugin!) is not compatibile although it looks greate! team seems to have abandoned the further work on February this year and this is the time i saw last commit.

                          - Web Designer problems, no custom tasks (I saw them in some guvnor tutorial lately but this is not compatibile with jpbm-consol as far as i know)

                           

                          This all makes me very discouraged for further work but since i have spend so much time on it already i cant realy change to other product. Writing my own jbpm console makes no sense as this take much time and duplicates current functionality and would enhence it only in very few places...

                           

                          I know that Developers are doing all they can in time they have but I'm frustrated with the situation itself.

                          • 10. Re: The bpmn2 process editor and the guvnor web process editor can`t be compatible  freely?
                            ylq2250

                            thanks for Tihomir Surdilovic`s replly again.

                             

                            the guvnor`s version is "5.3.0.CR1" for tomcat6.0 ,the Web designer`s version is "1.0.0.055-jboss" .I just take the guvnor `s war rename to "drools-guvnor.war" and the web designer`s war rename to "designer.war",and put the two wars into the webapps fold of the tomcat6.0,then i start the tomcat server and login into the gunver with the "http://localhost:8080/drools-guvnor" address. i don`t do any configuration for them.

                             

                            by the way ,can i use the web Designer to design a process which i described in the front reply like the "testMainProcess" process, as we have a requirement which need to design a process contains a Multiple Instance node and a Reusable Sub-Process node insiding the Multiple Instance node.

                             

                            i look through all the node elements in the web Designer but i can find a node like the  Multiple Instance node element in the Eclipse Jbpm Editor. how can i fix the requirement.can you teach me how to designer this process with the web Designer.

                             

                            is there any documents or user guiders about the web Designer? as i find there are so many properties about a node element in the web Designer.  i don`t know which property i should set to let the process definition valid and can be executed by the jbpm Engine.