Skip to content

Action – GetAssignedTasks

Eric Domke edited this page May 6, 2019 · 1 revision

To get the InBasket items in Aras v11, use the query:

<!-- SOAP_ACTION = ApplyAML or ApplyItem -->
<Item type="InBasket Task" action="get" page="1" 
  select="assigned_to,container,due_date,icon,instructions,item,itemtype,my_assignment,name,start_date,status,created_by_id,created_on,modified_by_id,modified_on,locked_by_id,major_rev,css,current_state,keyed_name">
  <my_assignment condition="eq">1</my_assignment>
  <status condition="like">Active</status>
</Item>

To get the InBasket items in 9.3

<!-- SOAP_ACTION = GetAssignedTasks -->
<params>
  <inBasketViewMode>{Enumeration: Active|Both|Pending}</inBasketViewMode>
  <workflowTasks>{Boolean: 0 or 1}</workflowTasks>
  <projectTasks>{Boolean: 0 or 1}</projectTasks>
  <actionTasks>{Boolean: 0 or 1}</actionTasks>
  <userID>{[Optional] GUID ID for the user whose InBasket is to be retrieved. }</userID>
</params>

Example (Input):

<params>
  <inBasketViewMode>Active</inBasketViewMode>
  <workflowTasks>1</workflowTasks>
  <projectTasks>1</projectTasks>
  <actionTasks>1</actionTasks>
</params>

Example (Result):

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Body>
    <Result>
      <Item>&lt;table draw_grid="true" delim="|" enablehtml="false"&gt;&lt;thead&gt;&lt;th&gt;&lt;/th&gt;&lt;th&gt;&lt;![CDATA[Type]]&gt; ... &lt;/table&gt;</Item>
    </Result>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Clone this wiki locally