XOG read of Project team resource is not working
search cancel

XOG read of Project team resource is not working

book

Article ID: 248250

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

It is possible to read specific resources using the prj_projects_read.xml template that is available in the XOG Client. An example XML to read data in this fashion is shown below.

However, it is noticed that this does not work for a specific project. Even after specifying a team record's ID in the XML, all the team records / resources are provided in the output XML.

<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_read.xsd">
 <Header action="read" externalSource="NIKU" objectType="project" version="7.5">
  <!-- you change the order by simply swap 1 and 2 number in the name attribute -->
  <args name="order_by_1" value="name"/>
  <args name="order_by_2" value="projectID"/>
  <args name="include_resources" value="true"/>
  <args name="include_allocations" value="true"/>
 </Header>
 <Query>
  <Filter criteria="EQUALS" name="projectID">someProject</Filter>
  <Filter criteria="EQUALS" name="resourceID">someTeamMember</Filter>
 </Query>
</NikuDataBus>

Resolution

The affected resource did not have any actuals. Removing and re-adding it to the project, from the UI, fixed the issue.