cancel
Showing results for 
Search instead for 
Did you mean: 

error in saving *.activiti file

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

I am facing a very minor problem with "Activiti" modeler in Eclipse-IDE….
these are the steps i followed:-

1) In the eclipse modeler drag and drop start and end palette.
2) Connect Start to End by using the sequence flow.
3)Save the file..(well and good till here).

4)Just delete the Start palette.
5)Now add start palette.
6)Connect the Strat(palette) to End(palette).
7)When i save this….the modeller shows error…and it doesnt overwrite the old XML file..

I tried to use the clean option in eclipse for this project space..but it doesn't work…
Am i going wrong somewhere  :?:  :?:  :?:  :?:

Regards,
Dev.
1 REPLY 1

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

this looks like a bug. It appears if you delete a start event, the sequence flows aren't deleted as well. This leads to a problem when saving, since the old sequenceflow no longer points to a valid start event.

To correct this, first close the file in Designer, not saving changes. You can open the .activiti file in a text editor and delete the old bpmn2Smiley FrustratedequenceFlow element from the file. This element is somewhere in the last couple of lines of the file. Look for the one that has no sourceRef attribute. Reopen the diagram in Designer and add the new start event and sequenceflow. You should now be able to save.

Bug reported: http://jira.codehaus.org/browse/ACT-430