cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti Designer 5.9.0 released

trademak
Star Contributor
Star Contributor
Hi all,

I've released a new Activiti Designer version (5.9.0).
This is not just an upgrade with new features and bug fixes, we've also made a couple of changes to the core.
First, we don't have separate .activiti and bpmn20.xml files anymore. We now have one .bpmn file that contains the BPMN 2.0 XML information that's used to create a graphical diagram.
So any previous issues with the synchronization between the .activiti and the .bpmn20.xml file are gone.
Note that we changed the file extension to .bpmn. This has two reasons, first this is a default file extension for BPMN XML files. Second we need to have unique file extension for Activiti Designer diagrams, so .bpmn20.xml doesn't work, because this is seen as a XML file. To migrate your current diagrams to the new Activiti Designer release you only have to copy the .bpmn20.xml file and rename it to a .bpmn file. So actually there's no migration. Also note that this version of the Activiti Designer needs an Eclipse Indigo environment, so Helios is not supported.

Activiti Designer 5.9.0 highlights:

- Only one model file (with .bpmn extension), so no .activiti and .bpmn20.xml synchronization needed anymore.
- Support for nested sub processes.
- Support for signal events and event sub processes
- Improved the movement of boundary events and boundary events are now also moved with its parent.
- Upgrade to Graphiti 0.9.
- Lots of bug fixes.

So we welcome all users to try-out this new version of the Activiti Designer.
To get started copy one of your created .bpmn20.xml files to an Activiti project in the the new Activiti Designer and rename it with a .bpmn extension.
So you don't need the .activiti file at all.

For the next version we are looking at the implementation of the following features:

- Pools and lanes
- Text annotation
- Transaction and compensation support

But we welcome other requests for new features!

Best regards and enjoy,
48 REPLIES 48

tiesebarrell
Champ in-the-making
Champ in-the-making
Steve,

looks like you have a problem with the path to your small icon image for the palette item. You should be able to use the extensions with 5.9.

steve1
Champ on-the-rise
Champ on-the-rise
Thank you for your reply.

But I did not specified the small icon image path.

If I create new project and try to create new diagram, this error occurs also.

If I remove custom extension jar from the Activiti Designer Extensions of the User Library,
everythign works right.

I created clean install of eclipse, and retried, but the same result.

Below is my source code of extension, but nothing special.

@Runtime(delegationClass="com.test.MyUserTask")
@Help(displayHelpShort="test", displayHelpLong="test long")
public class MyUserTask extends AbstractCustomServiceTask {

@Property(type=PropertyType.COMBOBOX_CHOICE, displayName="Task Type", required=true)
@Help(displayHelpShort="Select a type", displayHelpLong="Select a task type")
@PropertyItems({"Create Item", "type1", "Assign Scope", "type2"})
private String taskType;

@Property(type=PropertyType.BOOLEAN_CHOICE, displayName="Is Multi-Scope?", required=true)
@Help(displayHelpShort="multi-scope task", displayHelpLong="multi-scope task. ")
private String multiScope;

@Override
public String contributeToPaletteDrawer() {
  return "myTask";
}

@Override
public String getName() {
  return "my User Task";
}

//@Override
//public String getSmallIconPath() {
// return super.getSmallIconPath();
//}

}

I don't know the reason.

Can you help me?

tiesebarrell
Champ in-the-making
Champ in-the-making
Actually, I see that a bug was introduced during a refactoring for 5.9. The problem is that if you don't specify a small icon, Designer will revert to a default icon. However, the code and the image have become separated between modules, which results in an error. I will create a Jira issue for this so I remember to fix it.

So as a workaround in the current release, you should specify the icon. If you don't want to create one, you can grab the default one yourself and use that. You can find it here: http://svn.codehaus.org/activiti/projects/designer/trunk/org.activiti.designer.gui/icons/defaultCust...

steve1
Champ on-the-rise
Champ on-the-rise
Yes, now it works.

Thank you.

tiesebarrell
Champ in-the-making
Champ in-the-making
Great. Issue has been filed here, if you wish to track. http://jira.codehaus.org/browse/ACT-1187

steve1
Champ on-the-rise
Champ on-the-rise
I have another problem.

In Activiti Designer 5.9, the first sub-process's flow is removed in my process.

It's in another topic: http://forums.activiti.org/en/viewtopic.php?f=8&t=3787

I made another post here, because I think this topic is active.

Help me, please.

steve1
Champ on-the-rise
Champ on-the-rise
The above problem is solved, Tijs already fixed it.

One more thing small is that displayHelpLong is not displayed on custom property, only displayHelpShort is displayed.

It will be great if this can also be fixed and released with the Activiti Designer 5.9.1.

Thanks.

tiesebarrell
Champ in-the-making
Champ in-the-making
Steve,

can you create a jira issue for the latter issue please? Thanks.

steve1
Champ on-the-rise
Champ on-the-rise
Hi,

I filed a jira issue for the above post.

http://jira.codehaus.org/browse/ACT-1189

Thanks.

cirerenat
Champ in-the-making
Champ in-the-making
Tijs,
Is there any possibility for an Activiti Engine Patch to 5.9 before 5.10 release to recognize the .bpmn files.
I've read the workaround you proposed in this thread but without the support for .bpmn files from the Activiti Engine 5.9,  it would be very inconvenient; We're using the Spring processEngineConfiguration with deploymentResources our day to day development/testing and also using the @org.activiti.engine.test.Deployment Annotation in our many unit test.