Dashboard > Tempo > ... > FAQ > How to do manual task assignment > View
Tempo Log In   View a printable version of the current page.
How to do manual task assignment
Added by Nicolas Modrzyk, last edited by Nicolas Modrzyk on Sep 13, 2008

How to do manual task assignment

The Task Management Service has the following interface method:

public void reassign(String taskID, AuthIdentifierSet users, AuthIdentifierSet roles, TaskState state, String participantToken) throws Exception

That can be used to reassign a task to different users, different roles.
Once a task is in someone's inbox, calling this method through the TMS Axis Webservice, will result in the task being accessible to a different set of users, than what was originally planned during design time.

The TMS WSDL decribe the reassign request as:

<xsd:element name="reassignRequest">
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="taskId" type="xsd:string" minOccurs="1" maxOccurs="1" />
      <xsd:element name="userOwner" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
      <xsd:element name="roleOwner" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
      <xsd:element name="taskState" type="xsd:string" minOccurs="1" maxOccurs="1" />
      <xsd:element name="participantToken" type="xsd:string" minOccurs="1" maxOccurs="1" />
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

The old assignable users referenced for this task will be completely replaced by the new ones.
Reassign has a very extensive test case on its own, that can be used as an example.

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 1.4.1 Build:#212 Jun 02, 2005) - Bug/feature request - Contact Administrators