<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
You are probably using the jBPM 5.1 Installer which ships with
5.2.0. The Guvnor workitem definition editor was added after that
and is available in Guvnor 5.3.0.CR1. You can easily update guvnor
in the jBPM installer:<br>
1) In $jbpm-installer-dir$ edit build.properties, change<br>
<br>
# drools.guvnor.version=5.2.0.Final<br>
#
drools.guvnor.url=<a class="moz-txt-link-freetext" href="https://repository.jboss.org/nexus/content/repositories/releases/org/drools/guvnor-distribution-wars/5.2.0.Final/guvnor-distribution-wars-5.2.0.Final-jboss-as-5.1.war">https://repository.jboss.org/nexus/content/repositories/releases/org/drools/guvnor-distribution-wars/5.2.0.Final/guvnor-distribution-wars-5.2.0.Final-jboss-as-5.1.war</a><br>
drools.guvnor.version=5.2.0.Final<br>
drools.guvnor.url=<a class="moz-txt-link-freetext" href="https://repository.jboss.org/nexus/content/repositories/releases/org/drools/guvnor-distribution-wars/5.2.0.Final/guvnor-distribution-wars-5.2.0.Final-jboss-as-5.1.war">https://repository.jboss.org/nexus/content/repositories/releases/org/drools/guvnor-distribution-wars/5.2.0.Final/guvnor-distribution-wars-5.2.0.Final-jboss-as-5.1.war</a><br>
<br>
to<br>
<br>
# drools.guvnor.version=5.3.0.CR1<br>
drools.guvnor.version=5.3.0.CR1<br>
drools.guvnor.url=<a class="moz-txt-link-freetext" href="https://repository.jboss.org/nexus/content/repositories/releases/org/drools/guvnor-distribution-wars/5.3.0.CR1/guvnor-distribution-wars-5.3.0.CR1-jboss-as-5.1.war">https://repository.jboss.org/nexus/content/repositories/releases/org/drools/guvnor-distribution-wars/5.3.0.CR1/guvnor-distribution-wars-5.3.0.CR1-jboss-as-5.1.war</a><br>
<br>
2) While you are at it, also upgrade the web designer to the latest
release, change<br>
<br>
# the version of the Designer you want to use<br>
# and the associated URL you want to get it from<br>
designer.version=1.0.0.052-jboss<br>
designer.url=<a class="moz-txt-link-freetext" href="http://sourceforge.net/projects/jbpm/files/designer/designer-1.0.0.052/">http://sourceforge.net/projects/jbpm/files/designer/designer-1.0.0.052/</a><br>
<br>
to<br>
<br>
# the version of the Designer you want to use<br>
# and the associated URL you want to get it from<br>
designer.version=1.0.0.055-jboss<br>
designer.url=<a class="moz-txt-link-freetext" href="http://sourceforge.net/projects/jbpm/files/designer/designer-1.0.0.055/">http://sourceforge.net/projects/jbpm/files/designer/designer-1.0.0.055/</a><br>
<br>
3) You also have to map your workitem to your implementation (this
is not defined in the bpmn2), in
$jbpm-installer-dir$/conf/META-INF/CustomWorkItemHandlers.conf see
the examples of the pre-existing Log and Email workitems and add
yours there as well<br>
<br>
4) Run:<br>
ant clean.demo<br>
ant install.demo <br>
ant start.demo<br>
in $jbpm-installer-dir$<br>
<br>
Note that by doing this you will loose your existing Guvnor
repository, so you might want to save off any existing assets (via
guvnor repository xml export for example) before running ant
clean.demo<br>
<br>
<br>
Hope this helps.<br>
Tihomir<br>
<br>
<br>
On 10/4/11 5:53 PM, Alex Pinheiro das Graças wrote:
<blockquote
cite="mid:CABcAqPBHTNPT6ZRnKAoz4djSLkuhwCKjJ=p7oCGQ=_fax_zDeg@mail.gmail.com"
type="cite">
<div>Hello,</div>
<div><br>
</div>
I am trying to create a new Work Item Definition as shown in these
videos:
<div><a moz-do-not-send="true" href="http://vimeo.com/26126678">http://vimeo.com/26126678</a></div>
<div><a moz-do-not-send="true" href="http://vimeo.com/29457538">http://vimeo.com/29457538</a></div>
<div><br>
</div>
<div>But unfortely I can't find the option to create a new Work
Item Definition. </div>
<div>After I defined the parameters and the Icon from the Work
Item How can I define what the activity will do. For instance
call a web-service, send a e-mail , etc... </div>
<div><br>
</div>
<div>I know that I have to implement a class, like explained in
section 9.2.4 in the document below:</div>
<div><a moz-do-not-send="true"
href="http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-flow/html_single/index.html#ch.Domain_Specific_Processes">http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-flow/html_single/index.html#ch.Domain_Specific_Processes</a></div>
<div><br>
</div>
<div>It's the same when we are using the web-editor? Where I must
deploy the class?</div>
<div><br>
</div>
<div>Att.</div>
<div>__<br>
M.Sc. Engº Alex Pinheiro das Graças<br>
Vitória, Brasil<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
jbpm-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jbpm-users@lists.jboss.org">jbpm-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jbpm-users">https://lists.jboss.org/mailman/listinfo/jbpm-users</a>
</pre>
</blockquote>
<br>
</body>
</html>