<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font size="-1">jcc,<br>
      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:<br>
      ksession.getWorkItemManager().registerWorkItemHandler("UserTask",
      new UserTaskHandler(ksession));<br>
      <br>
    </font>Regards,<br>
    Burkhard<br>
    <br>
    On 17/08/2011 09:48, <a class="moz-txt-link-abbreviated" href="mailto:jiacc@gillion.com.cn">jiacc@gillion.com.cn</a> wrote:
    <blockquote cite="mid:201108172247518124846@gillion.com.cn"
      type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      <meta name="GENERATOR" content="MSHTML 8.00.6001.19046">
      <style>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-STYLE: normal; FONT-FAMILY: Verdana; COLOR: windowtext; FONT-WEIGHT: normal; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
</style>
      <div><font color="#c0c0c0" face="Verdana" size="2"><span><font
              face="Verdana" size="2"><span lang="EN-US"><o:p><font
                    face="Calibri" size="3"><font face="Verdana"
                      size="2">hi,</font></font></o:p></span></font></span></font></div>
      <div><font color="#c0c0c0" face="Verdana" size="2"><span><font
              face="Verdana" size="2"><span lang="EN-US"><o:p>i have a
                  new problem ,</o:p></span></font></span></font></div>
      <div><font color="#c0c0c0" face="Verdana" size="2"><span><font
              face="Verdana" size="2"><span lang="EN-US"><o:p></o:p></span></font></span></font> </div>
      <div><font face="Verdana" size="2"><span><font face="Verdana"
              size="2"><span lang="EN-US"><o:p><span class="hps"
                    closure_uid_kpl56u="478">These follwing two</span> <span
                    class="hps" closure_uid_kpl56u="479">codes</span> <span
                    class="hps" closure_uid_kpl56u="480">have the same
                    meaning?</span></o:p></span></font></span></font></div>
      <div><font face="Verdana" size="2"><span><font face="Verdana"
              size="2"><span lang="EN-US"><o:p><span class="hps"
                    closure_uid_kpl56u="480"></span></o:p></span></font></span></font> </div>
      <div><font color="#c0c0c0" face="Verdana" size="2"><span><font
              face="Verdana" size="2"><span lang="EN-US"><o:p>&lt;task
                  id="_7" name="User Task" tns:taskName="User Task"
                  &gt; </o:p></span></font></span></font></div>
      <div><font color="#c0c0c0" face="Verdana" size="2"><span><font
              face="Verdana" size="2"><span lang="EN-US"><o:p></o:p></span></font></span></font> </div>
      <div><font color="#c0c0c0" face="Verdana" size="2"><span><font
              face="Verdana" size="2"><span lang="EN-US"><o:p>vs</o:p></span></font></span></font></div>
      <div><font color="#c0c0c0" face="Verdana" size="2"><span><font
              face="Verdana" size="2"><span lang="EN-US"><o:p></o:p></span></font></span></font> </div>
      <div><font color="#c0c0c0" face="Verdana" size="2"><span><font
              face="Verdana" size="2"><span lang="EN-US"><o:p>&lt;userTask
                  id="_7" name="User Task2" &gt;</o:p></span></font></span></font></div>
      <font color="#c0c0c0" face="Verdana" size="2"><font face="Verdana"
          size="2">
          <p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal"> </p>
        </font></font><font color="#000080" face="Verdana" size="2">
        <hr>
      </font>
      <div><font face="Verdana" size="2"><strong>发件人:</strong>
          <a class="moz-txt-link-abbreviated" href="mailto:jiacc@gillion.com.cn">jiacc@gillion.com.cn</a> </font></div>
      <div><font face="Verdana" size="2"><strong>发送时间:</strong>
          2011-08-17  22:43:15 </font></div>
      <div><font face="Verdana" size="2"><strong>收件人:</strong> Burkhard
          Vogel; <a class="moz-txt-link-abbreviated" href="mailto:jbpm-users@lists.jboss.org">jbpm-users@lists.jboss.org</a> </font></div>
      <div><font face="Verdana" size="2"><strong>抄送:</strong> </font></div>
      <div><font face="Verdana" size="2"><strong>主题:</strong> Re: Re:
          [jbpm-users] how to add a self-defined property for [user
          task]node in eclipse-plugin editor. </font></div>
      <div> </div>
      <div><font face="Verdana" size="2">
          <div><font color="#c0c0c0" face="Verdana" size="2"><span>
                <div>
                  <div><font face="Verdana" size="2"><b><font size="3"><font
                            face="Calibri"><span style="COLOR: black"
                              lang="EN-US"></span></font></font></b><b><font
                          size="3"><font face="Calibri"><span
                              style="COLOR: black" lang="EN-US"></span><span
                              style="COLOR: navy" lang="EN-US"><o:p></o:p></span></font></font></b>
                      <p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal"><span
                          style="FONT-FAMILY: 宋体; COLOR: #333399;
                          FONT-SIZE: 10pt" lang="EN-US"><o:p>Hi:</o:p></span></p>
                      <p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal"><span
                          style="FONT-FAMILY: 宋体; COLOR: #333399;
                          FONT-SIZE: 10pt" lang="EN-US"><o:p>    thank u
                            very much for your help.</o:p></span></p>
                      <p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal"><span
                          style="FONT-FAMILY: 宋体; COLOR: #333399;
                          FONT-SIZE: 10pt" lang="EN-US"><o:p></o:p></span> </p>
                      <p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal"><span
                          style="FONT-FAMILY: 宋体; COLOR: #333399;
                          FONT-SIZE: 10pt" lang="EN-US"><o:p
                            style="TEXT-INDENT: 2em"><span class="hps"
                              jd="null" closure_uid_kpl56u="199">If</span>
                            <span class="hps" jd="null"
                              closure_uid_kpl56u="200">as you</span> <span
                              class="hps" jd="null"
                              closure_uid_kpl56u="201">approach</span><span
                              jd="null" closure_uid_kpl56u="202"></span>
                            , then generate the my.bpmn include </o:p></span></p>
                      <p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal"><span
                          style="FONT-FAMILY: 宋体; COLOR: #333399;
                          FONT-SIZE: 10pt" lang="EN-US"><o:p
                            style="TEXT-INDENT: 2em"></o:p></span> </p>
                      <p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal"><span
                          style="FONT-FAMILY: 宋体; COLOR: #333399;
                          FONT-SIZE: 10pt" lang="EN-US"><o:p
                            style="TEXT-INDENT: 2em">"&lt;<strong><font
                                color="#ff0000">task</font></strong>
                            id="_7" name="User Task" tns:taskName="User
                            Task" &gt;....",</o:p></span></p>
                      <p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal"><span
                          style="FONT-FAMILY: 宋体; COLOR: #333399;
                          FONT-SIZE: 10pt" lang="EN-US"><o:p
                            style="TEXT-INDENT: 2em"></o:p></span> </p>
                      <p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal"><span
                          style="FONT-FAMILY: 宋体; COLOR: #333399;
                          FONT-SIZE: 10pt" lang="EN-US"><o:p
                            style="TEXT-INDENT: 4em"><span class="hps"
                              jd="null" closure_uid_kpl56u="293">but I</span>
                            <span class="hps" jd="null"
                              closure_uid_kpl56u="294">need to generate</span>
                            <span class="hps" jd="null"
                              closure_uid_kpl56u="295">this</span> <span
                              class="hps" jd="null"
                              closure_uid_kpl56u="296">code:</span> </o:p></span></p>
                      <p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal"><span
                          style="FONT-FAMILY: 宋体; COLOR: #333399;
                          FONT-SIZE: 10pt" lang="EN-US"><o:p
                            style="TEXT-INDENT: 2em">"&lt;<font
                              color="#ff0000"><strong>usertask</strong></font>
                            id="_7" name="User Task" ...."</o:p></span></p>
                      <p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal"><span
                          style="FONT-FAMILY: 宋体; COLOR: #333399;
                          FONT-SIZE: 10pt" lang="EN-US"><o:p
                            style="TEXT-INDENT: 2em"></o:p></span> </p>
                      <p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal"><span
                          style="FONT-FAMILY: 宋体; COLOR: #333399;
                          FONT-SIZE: 10pt" lang="EN-US"><o:p
                            style="TEXT-INDENT: 2em"><span
                              id="result_box" class="short_text"
                              jd="null" closure_uid_kpl56u="216" c="4"
                              a="undefined" lang="en"><span class="hps"
                                jd="null" closure_uid_kpl56u="320">How
                                to</span> <span class="hps" jd="null"
                                closure_uid_kpl56u="321">deal with this
                                problem?</span></span></o:p></span></p>
                      <p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal"><span
                          style="FONT-FAMILY: 宋体; COLOR: #333399;
                          FONT-SIZE: 10pt" lang="EN-US"><o:p
                            style="TEXT-INDENT: 2em"><span
                              class="short_text" jd="null"
                              closure_uid_kpl56u="216" c="4"
                              a="undefined" lang="en"><span class="hps"
                                jd="null" closure_uid_kpl56u="321"></span></span></o:p></span> </p>
                      <p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal"><span
                          style="FONT-FAMILY: 宋体; COLOR: #333399;
                          FONT-SIZE: 10pt" lang="EN-US"><o:p
                            style="TEXT-INDENT: 2em"><span
                              class="short_text" jd="null"
                              closure_uid_kpl56u="216" c="4"
                              a="undefined" lang="en"><span class="hps"
                                jd="null" closure_uid_kpl56u="321"></span></span></o:p></span><span
                          style="FONT-FAMILY: 宋体; COLOR: #333399;
                          FONT-SIZE: 10pt" lang="EN-US"><o:p></o:p></span> <span
                          lang="EN-US"><o:p><font face="Calibri"
                              size="3"> <font face="Verdana" size="2">Regards,</font><br>
                              jcc</font></o:p></span></p>
                      <p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal"> </p>
                    </font></div>
                </div>
              </span></font></div>
          <font color="#000080" face="Verdana" size="2">
            <hr>
          </font>
          <div><font face="Verdana" size="2"><strong>发件人:</strong>
              Burkhard Vogel </font></div>
          <div><font face="Verdana" size="2"><strong>发送时间:</strong>
              2011-08-17  22:27:56 </font></div>
          <div><font face="Verdana" size="2"><strong>收件人:</strong>
              <a class="moz-txt-link-abbreviated" href="mailto:jbpm-users@lists.jboss.org">jbpm-users@lists.jboss.org</a> </font></div>
          <div><font face="Verdana" size="2"><strong>抄送:</strong> </font></div>
          <div><font face="Verdana" size="2"><strong>主题:</strong> Re:
              [jbpm-users] how to add a self-defined property for [user
              task]node in eclipse-plugin editor. </font></div>
          <div><font face="Verdana" size="2"><font size="-1">Hi,<br>
                define it as this in your user node definition xml:<br>
                import
                org.drools.process.core.datatype.impl.type.StringDataType;<br>
                [<br>
                  [<br>
                    "name" : "UserTask",<br>
                    "parameters" : [<br>
                      "ActorId" : new StringDataType(),<br>
                      "ActorId2" : new StringDataType()<br>
                    ],<br>
                    "displayName" : "User Task",<br>
                    "icon" : "icons/usertask.gif"<br>
                  ]<br>
                ]<br>
              </font>Regards,<br>
              Burkhard<br>
              <br>
              On 17/08/2011 04:35, <a moz-do-not-send="true"
                class="moz-txt-link-abbreviated"
                href="mailto:jiacc@gillion.com.cn">jiacc@gillion.com.cn</a>
              wrote:
              <blockquote
                cite="mid:201108171735560465740@gillion.com.cn"
                type="cite">
                <meta name="GENERATOR" content="MSHTML 8.00.6001.19046">
                <div>
                  <div>
                    <div><font face="Verdana" size="2">
                        <p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal">hi
                          , </p>
                        <p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal"> </p>
                        <p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal">I
                          want to add a self-defined property for [user
                          task] node in eclipse-plugin editor , such as
                          actorId , actorId2.</p>
                        <p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal"> </p>
                        <p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal"> JBPM5.1
                          .</p>
                        <p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal"> </p>
                        <p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal">thank
                          u .</p>
                      </font></div>
                  </div>
                </div>
                <pre>-- 
This email was Anti Virus checked by Astaro Security Gateway. MODINTER S.A.</pre>
              </blockquote>
              <br>
              <div class="moz-signature">-- <br>
                <meta name="AUTHOR" content="Burkhard Vogel">
                <style type="text/css">P {
        FONT-FAMILY: Verdana, sans serif; MARGIN-BOTTOM: 0cm; COLOR: #1e5c79; FONT-SIZE: 8pt
}
A {
        FONT-FAMILY: Verdana, sans serif; MARGIN-BOTTOM: 0cm; COLOR: #1e5c79; FONT-SIZE: 8pt
}
P.c1 {
        MARGIN-BOTTOM: 12pt
}
P.c3 {
        FONT-FAMILY: Trebuchet MS, sans serif; COLOR: #a6a6a6; FONT-SIZE: 6pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
                <p class="c1">Saludos cordiales,<br>
                  <br>
                  <span style="FONT-SIZE: 11pt"><strong>Burkhard Vogel</strong></span><br>
                  <b>Lead Strategic Development</b><br>
                  <br>
                  <br>
                  <img moz-do-not-send="true" id="modinter-logo"
                    name="modinter-logo" alt="modinter"
                    src="cid:__0@Foxmail.net" align="bottom" border="0"
                    height="46" width="155"><br>
                  <b>Centre of Sales &amp; Support • Quito, Ecuador</b>
                </p>
                <p class="c1">Leonidas Plaza N24-318 y Baquerizo Moreno<br>
                  Edificio Plaza 246<br>
                  Phone:   +593 2 2237393 ext 7300 </p>
                <p class="c1">Mobile:   +593 9 5771800<br>
                  E-mail:    <a moz-do-not-send="true"
                    href="mailto:burkhard.vogel@modinter.com.ec">burkhard.vogel@modinter.com.ec</a>
                </p>
                <p><a moz-do-not-send="true"
                    href="http://www.modinter.com.ec/"><strong>www.modinter.com.ec</strong></a>
                </p>
                <p class="c3">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.<br>
                  FISA GROUP and each or any of its operating companies
                  reserve the right to monitor all e-mail communication
                  through its networks. </p>
              </div>
            </font></div>
        </font></div>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="CONTENT-TYPE" content="text/html; charset=UTF-8">
      <title>BV modinter Firma</title>
      <meta name="AUTHOR" content="Burkhard Vogel">
      <style type="text/css">
    <!--
        P,a  {margin-bottom: 0cm; font-family: Verdana, sans serif; color: #1e5c79; font-size: 8pt; }
        p.c1 {margin-bottom: 12pt}
        p.c3 {font-family: Trebuchet MS, sans serif; color: #a6a6a6; font-size: 6pt;}
    -->
    </style>
      <p class="c1"> Saludos cordiales,<br>
        <br>
        <span style="font-size:11pt"><strong>Burkhard Vogel</strong></span><br>
        <b>Lead Strategic Development</b><br>
        <br>
        <br>
        <img src="cid:part1.02040301.07040800@modinter.com.ec"
          name="modinter-logo" id="modinter-logo" alt="modinter"
          align="bottom" border="0" height="46" width="155"><br>
        <b>Centre of Sales &amp; Support • Quito, Ecuador</b> </p>
      <p class="c1"> Leonidas Plaza N24-318 y Baquerizo Moreno<br>
        Edificio Plaza 246<br>
        Phone:   +593 2 2237393 ext 7300 </p>
      <p class="c1"> Mobile:   +593 9 5771800<br>
        E-mail:    <a href="mailto:burkhard.vogel@modinter.com.ec">burkhard.vogel@modinter.com.ec</a>
      </p>
      <p> <a href="http://www.modinter.com.ec/"><strong>www.modinter.com.ec</strong></a>
      </p>
      <p class="c3"> 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.<br>
        FISA GROUP and each or any of its operating companies reserve
        the right to monitor all e-mail communication through its
        networks. </p>
    </div>
  </body>
</html>