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

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,