cancel
Showing results for 
Search instead for 
Did you mean: 

ISSUE: Designer 5.12 Delegation Class attr not set

ryanberg1
Champ in-the-making
Champ in-the-making
Hello,

I just upgraded designer to the latest version (5.12), and there is an issue with custom service tasks.  It appears that the activiti:class="com.foo.bar.MyClass" attribute is not being set on custom service tasks.  The @Runtime(delegationClass="com.foo.bar.MyClass") annotation on the custom service task class provided this value in past versions.

Thank you.
-Ryan
6 REPLIES 6

tiesebarrell
Champ in-the-making
Champ in-the-making
Ryan,

we changed the name of the attributes of @Runtime in this release. So you may need to adjust and recompile your extension JAR to use with the new version of Designer. Probably you need to switch to javaDelegateClass.

Check http://activiti.org/userguide/index.html#eclipseDesignerExtending for the details. This was needed to enable the new options and make sure the naming was consistent with the rest of Activiti.

tiesebarrell
Champ in-the-making
Champ in-the-making
BTW, you will need to update the dependency you have to the integration library too to see the new attributes.

ryanberg1
Champ in-the-making
Champ in-the-making
What is the correct version of the integration library to include?  I don't see anything after 5.9.1 (which is what I have been using for a while)

tiesebarrell
Champ in-the-making
Champ in-the-making

ryanberg1
Champ in-the-making
Champ in-the-making
EDIT: Sorry.. nevermind, this is an IDE issue, everything works just fine from the command line.

Hi Tiese,

Yes, that is the maven artifact I am pointing to now, but I am experiencing a strange problem.  The pom files are being retrieved and placed into my .m2 directory, however the jar files are not?  Is everything correct with the artifact in nexus?

Thanks.
-Ryan

tiesebarrell
Champ in-the-making
Champ in-the-making
Hi Ryan,

looks that way. I deleted the artifact and had m2eclipse redownload it and the Jar looks fine. Good you got it solved Smiley Happy