cancel
Showing results for 
Search instead for 
Did you mean: 

problem in SubProcess

dev1
Champ in-the-making
Champ in-the-making
hi,
In eclipse when i create a Sub-process….I am not able to create bpmn.xml of the main diagram…every time it gives an error message saying "subprocess" has no diagram yet….even though there are diagram inside that subprocess… :!: . why this error error….  Smiley Sad
12 REPLIES 12

tiesebarrell
Champ in-the-making
Champ in-the-making
DEV,

I can't quite follow what you're doing. I just performed to following steps, but had no problems:

1) Create new diagram (main).
2) Add start node, subprocess, end node
3) Subprocess will show "i" icon because there is no subprocess diagram yet
4) Double-click subprocess -> new editor opens
5) Add start node and end node. Save subprocess editor.
6) Go back to main process and save. BPMN file for main is created.

Note, no bpmn file is created for the *sub*process. It's contents are stored within the bpmn file for the main process.

dev1
Champ in-the-making
Champ in-the-making
hi Tiesebarrell,

As u mentioned, i followed the same procedure…but the problem remains the same….I am sending you the screen shot…here if you notice there is no "i" sign in sub-process…but still the modeler is showing error.

Regards,
Dev.

tiesebarrell
Champ in-the-making
Champ in-the-making
Dev,

it's strange you should see that message if the subprocess actually exists. Can you verify that you have a my_bpmn2_diagram.<subprocessid>.diagram in the src/main/resources/diagrams folder of the project? And that your main diagram is also in that folder?

BTW, from the screenshot I can also see that you are using the "older" version of the designer. We released a new version on the 1st of December, 0.6.0, where these messages are no longer shown in this manner. I you want to upgrade, make sure to create new diagrams because some things have been changed (particularly, file extensions)

dev1
Champ in-the-making
Champ in-the-making
Hi Tiesebarrell,

As suggested by you, i updated my modeler…but the problem remains the same…i am again sending the screen shot of the error pron eclipse….
Where am i going wrong….for some change i deleted my previous eclipse and installed a new eclipse then i installed the modeler's new version….is there any thing wrong in the "Activiti code" ??? Smiley Wink

Regards,
Dev

tiesebarrell
Champ in-the-making
Champ in-the-making
DEV,

If you updated the designer, I'm surprised you see that message as I believe we removed it. Can you attach the two .activiti diagram files so I can see whether I can reproduce it?

dev1
Champ in-the-making
Champ in-the-making
hi,
As u asked i am attaching u the .jpg of the subprocess too………and the problem i am talking comes when i right click on the main diagram to export it as BPMN2.0 XML file…..

Regards,
DEV

tiesebarrell
Champ in-the-making
Champ in-the-making
DEV,

i need the .activiti files from your workspace, so I can look at the references and can try to reproduce the problem, could you attach those instead? I can't replay your problem without these files.

tiesebarrell
Champ in-the-making
Champ in-the-making
DEV,

another note. You say this occurs when you right-click and export to BPMN?

In the new version of Activiti Designer that you're now using, the BPMN is saved automatically, so you don't have to export it yourself. From your screenshot, I can see that there is already a bpmn file in your workspace. This file is updated each time you save your main diagram. Does that work properly? Open up the file with a text / XML editor and you should see elements in there for your subprocess. If they are in there, then you can use that file.

Could you check that for me?

If there's a difference between manual and automatic export, that might explain your problem and I can look into it. The manual export option will probably be removed in the next version.

dev1
Champ in-the-making
Champ in-the-making
hi tiesebarrell,
you are right , in new version when we save, it internally generate the XML file….As i was addicted  :roll: to the older version, i didn't check out this new addition..its a good feature…but if you have added this new feature, then what is the use of keeping the option of generating XML manually when we right click…..or in this version there is specific use of that…let me know ??

Regards,
Dev