[jbpm-users] how to add a self-defined property for [user task]node in eclipse-plugin editor.

Burkhard Vogel Burkhard.Vogel at modinter.com.ec
Wed Aug 17 10:54:09 EDT 2011


jcc,
you can't change the xml definition at will - user tasks should be named "task" and you have to add the workitemhandler to the workitemmanager:
ksession.getWorkItemManager().registerWorkItemHandler("UserTask", new UserTaskHandler(ksession));

Regards,
Burkhard

On 17/08/2011 09:48, jiacc at gillion.com.cn<mailto:jiacc at gillion.com.cn> wrote:
hi,
i have a new problem ,

These follwing two codes have the same meaning?

<task id="_7" name="User Task" tns:taskName="User Task" >

vs

<userTask id="_7" name="User Task2" >

________________________________
发件人: jiacc at gillion.com.cn<mailto:jiacc at gillion.com.cn>
发送时间: 2011-08-17  22:43:15
收件人: Burkhard Vogel; jbpm-users at lists.jboss.org<mailto:jbpm-users at lists.jboss.org>
抄送:
主题: Re: Re: [jbpm-users] how to add a self-defined property for [user task]node in eclipse-plugin editor.
Hi:
    thank u very much for your help.

If as you approach , then generate the my.bpmn include

"<task id="_7" name="User Task" tns:taskName="User Task" >....",

but I need to generate this code:
"<usertask id="_7" name="User Task" ...."

How to deal with this problem?

  Regards,
jcc

________________________________
发件人: Burkhard Vogel
发送时间: 2011-08-17  22:27:56
收件人: jbpm-users at lists.jboss.org<mailto:jbpm-users at lists.jboss.org>
抄送:
主题: Re: [jbpm-users] how to add a self-defined property for [user task]node in eclipse-plugin editor.
Hi,
define it as this in your user node definition xml:
import org.drools.process.core.datatype.impl.type.StringDataType;
[
  [
    "name" : "UserTask",
    "parameters" : [
      "ActorId" : new StringDataType(),
      "ActorId2" : new StringDataType()
    ],
    "displayName" : "User Task",
    "icon" : "icons/usertask.gif"
  ]
]
Regards,
Burkhard

On 17/08/2011 04:35, jiacc at gillion.com.cn<mailto:jiacc at gillion.com.cn> wrote:
hi ,

I want to add a self-defined property for [user task] node in eclipse-plugin editor , such as actorId , actorId2.

 JBPM5.1 .

thank u .

--
This email was Anti Virus checked by Astaro Security Gateway. MODINTER S.A.

--

Saludos cordiales,

Burkhard Vogel
Lead Strategic Development


[cid:__0 at Foxmail.net]
Centre of Sales & Support • Quito, Ecuador

Leonidas Plaza N24-318 y Baquerizo Moreno
Edificio Plaza 246
Phone:   +593 2 2237393 ext 7300

Mobile:   +593 9 5771800
E-mail:    burkhard.vogel at modinter.com.ec<mailto:burkhard.vogel at modinter.com.ec>

www.modinter.com.ec<http://www.modinter.com.ec/>

The information in this e-mail and any attachments is confidential and is intended for the addressee only and may contain confidential, proprietary or legally privileged information. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail. Unless otherwise stated, any pricing or deliver information given in this message is indicative only, is subject to change and to formal communication.
FISA GROUP and each or any of its operating companies reserve the right to monitor all e-mail communication through its networks.

--

Saludos cordiales,

Burkhard Vogel
Lead Strategic Development


[cid:part1.02040301.07040800 at modinter.com.ec]
Centre of Sales & Support • Quito, Ecuador

Leonidas Plaza N24-318 y Baquerizo Moreno
Edificio Plaza 246
Phone:   +593 2 2237393 ext 7300

Mobile:   +593 9 5771800
E-mail:    burkhard.vogel at modinter.com.ec<mailto:burkhard.vogel at modinter.com.ec>

www.modinter.com.ec<http://www.modinter.com.ec/>

The information in this e-mail and any attachments is confidential and is intended for the addressee only and may contain confidential, proprietary or legally privileged information. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail. Unless otherwise stated, any pricing or deliver information given in this message is indicative only, is subject to change and to formal communication.
FISA GROUP and each or any of its operating companies reserve the right to monitor all e-mail communication through its networks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbpm-users/attachments/20110817/13f46730/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: modinter-logo
Type: image/jpg
Size: 2118 bytes
Desc: modinter-logo
Url : http://lists.jboss.org/pipermail/jbpm-users/attachments/20110817/13f46730/attachment-0001.jpg 


More information about the jbpm-users mailing list