BPMN2 Import Probleme
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2013 04:59 AM
Hi.
Got problems importing existing BPMN2 files:
E.g. I created a very simple flow in Signavio's online modeller and there seems to be no way to open/import it in activiti-explorer. Lastly I compared the XML with the XML of an importable BPMN2 file and noticed a difference for the "isExecutable" attribute. After setting this to true, suddenly importing is possible!
Now I imported a more complex XPDL file in Signavio to export it as BPMN2 again. This time setting isExecutable seems to be not enough: No way to get it imported by activiti. activiti-designer (eclipse) shows just a white screen - no error.
* I would suggest better error messages: E.g. setting isExecutable is no problem, but you have to know about it!
* What is exactly expected by activiti-explorer BPMN2 import? Proprietary extensions?
* We plan a one-time migration from bizagi modeller to activiti. The only way I could find: bizagi XPDL2 export, signavio XPDL2 Import, signavio BPMN2 Export, activiti Import. Is there a problem with this approach? Do you know a better way? Could you image a batch approach?
* (Note: yaoqiang is able to open all these files from above!)
Best,
Markus
Got problems importing existing BPMN2 files:
E.g. I created a very simple flow in Signavio's online modeller and there seems to be no way to open/import it in activiti-explorer. Lastly I compared the XML with the XML of an importable BPMN2 file and noticed a difference for the "isExecutable" attribute. After setting this to true, suddenly importing is possible!
Now I imported a more complex XPDL file in Signavio to export it as BPMN2 again. This time setting isExecutable seems to be not enough: No way to get it imported by activiti. activiti-designer (eclipse) shows just a white screen - no error.
* I would suggest better error messages: E.g. setting isExecutable is no problem, but you have to know about it!
* What is exactly expected by activiti-explorer BPMN2 import? Proprietary extensions?
* We plan a one-time migration from bizagi modeller to activiti. The only way I could find: bizagi XPDL2 export, signavio XPDL2 Import, signavio BPMN2 Export, activiti Import. Is there a problem with this approach? Do you know a better way? Could you image a batch approach?
* (Note: yaoqiang is able to open all these files from above!)
Best,
Markus
Labels:
- Labels:
-
Archive
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2013 08:03 AM
* You should see a warning log message in the console passing by. Some people don't want to execute processes, just document them.
* The import should be able to take the process as it is. Any chance you can upload this process somehow?
* Depends on what you call an import. An import into Explorer? As such, it would be very easy to write simple Java script that takes these process xml files and deploys it to the database that the Activiti (Explorer) is using.
* Does Yaoqiang allow to transform these processes?
* The import should be able to take the process as it is. Any chance you can upload this process somehow?
* Depends on what you call an import. An import into Explorer? As such, it would be very easy to write simple Java script that takes these process xml files and deploys it to the database that the Activiti (Explorer) is using.
* Does Yaoqiang allow to transform these processes?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2013 04:42 AM
Try to import http://www.omg.org/spec/BPMN/20100602/2010-06-03/Models%20&%20Diagrams/Process.bpmn
(Renaming to .bpmn20.xml makes no difference / validates against xsd / Loading Process.bpmn in yao and saving it as "for activiti .bpmn20.xml" makes no difference. same error.)
You get:
Jun 01, 2013 10:30:58 AM com.vaadin.Application terminalError
SEVERE: Terminal error:
com.vaadin.event.ListenerMethod$MethodException: Invocation of method uploadFinished in org.activiti.explorer.ui.custom.ImportComponent failed.
at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:530)
at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164)
at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1219)
at com.vaadin.ui.Upload.fireUploadInterrupted(Upload.java:731)
at com.vaadin.ui.Upload$1.streamingFailed(Upload.java:1037)
at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.streamToReceiver(AbstractCommunicationManager.java:619)
at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleSimpleMultipartFileUpload(AbstractCommunicationManager.java:476)
at com.vaadin.terminal.gwt.server.CommunicationManager.handleFileUpload(CommunicationManager.java:259)
at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:495)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NullPointerException
at org.activiti.editor.ui.ImportUploadReceiver.showUploadedDeployment(ImportUploadReceiver.java:149)
at org.activiti.editor.ui.ImportUploadReceiver.uploadFinished(ImportUploadReceiver.java:81)
at org.activiti.explorer.ui.custom.ImportComponent.uploadFinished(ImportComponent.java:139)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)
… 28 more
Setting VAADIN to debug mode does not produce more information here.
If I export the "Demo Process" and re-import it, no error occurs.
Regards.
(Renaming to .bpmn20.xml makes no difference / validates against xsd / Loading Process.bpmn in yao and saving it as "for activiti .bpmn20.xml" makes no difference. same error.)
You get:
Jun 01, 2013 10:30:58 AM com.vaadin.Application terminalError
SEVERE: Terminal error:
com.vaadin.event.ListenerMethod$MethodException: Invocation of method uploadFinished in org.activiti.explorer.ui.custom.ImportComponent failed.
at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:530)
at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164)
at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1219)
at com.vaadin.ui.Upload.fireUploadInterrupted(Upload.java:731)
at com.vaadin.ui.Upload$1.streamingFailed(Upload.java:1037)
at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.streamToReceiver(AbstractCommunicationManager.java:619)
at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleSimpleMultipartFileUpload(AbstractCommunicationManager.java:476)
at com.vaadin.terminal.gwt.server.CommunicationManager.handleFileUpload(CommunicationManager.java:259)
at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:495)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NullPointerException
at org.activiti.editor.ui.ImportUploadReceiver.showUploadedDeployment(ImportUploadReceiver.java:149)
at org.activiti.editor.ui.ImportUploadReceiver.uploadFinished(ImportUploadReceiver.java:81)
at org.activiti.explorer.ui.custom.ImportComponent.uploadFinished(ImportComponent.java:139)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)
… 28 more
Setting VAADIN to debug mode does not produce more information here.
If I export the "Demo Process" and re-import it, no error occurs.
Regards.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2013 06:44 AM
Setting isExecutable="true" did the job here.
This is what I meant with "What is exactly expected by activiti-explorer BPMN2 import?".
Also a better error message at GUI level would help. It just says "Import failed. Make sure that the file contains valid BPMN".
Result till here: Document should be schema valid and process must have isExecutable="true".
This is what I meant with "What is exactly expected by activiti-explorer BPMN2 import?".
Also a better error message at GUI level would help. It just says "Import failed. Make sure that the file contains valid BPMN".
Result till here: Document should be schema valid and process must have isExecutable="true".
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2013 09:33 AM
2 simple pools, can not be imported:
https://gist.github.com/anonymous/5698141
"Import failed. Make sure that the file contains valid BPMN"
What is missing here?
https://gist.github.com/anonymous/5698141
"Import failed. Make sure that the file contains valid BPMN"
What is missing here?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2013 12:16 PM
I found that I can only have one pool.
Meaningful error message would help to avoid confusions.
Meaningful error message would help to avoid confusions.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2013 02:06 PM
Do you mean import in Explorer or import in Designer?
