[rules-users] How to get workItem name?

brian.xiang at thomsonreuters.com brian.xiang at thomsonreuters.com
Fri Apr 24 11:01:22 EDT 2009


Hi,
 
For example if I have a workItem defined like this:
 
  <nodes>
    <workItem id="2" name="Bob" x="63" y="136" width="117" height="40" >
      <work name="Email" >
        <parameter name="inputType" >
        </parameter>
      </work>
      <mapping type="in" from="content" to="content" />
    </workItem>
  </nodes>

How do I get the work item name - Bob? WorkItem.getName() returns
"Email" which is to me kind of the type of the WorkItem, not the name of
the WorkItem instance. 
 
Thanks in advance,
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090424/10b575c7/attachment.html 


More information about the rules-users mailing list