AnsweredAssumed Answered

Unable to add roles to task via XOG

Question asked by rbnjana on Aug 28, 2015
Latest reply on Sep 1, 2015 by DK_Winmill



We are trying to add roles to task through xog. Below is the xml.


<NikuDataBus xmlns:xsi="" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_project.xsd">

  <Header action="write" externalSource="NIKU" objectType="project" version="6.0.11"/>


  <Project name="Project Enhancement" projectID="PROJ-029">


  <Task chargeCodeExtID="995" evCalcMethod="0" finish="2015-08-10T17:00:00" fixed="false" key="true" lockedForScheduling="false"

          milestone="false" name="Business Enhancements" openForTimeEntry="true" orderID="10" outlineLevel="1" percComp="0.0"

          start="2015-01-13T08:00:00" status="1" summary="false" taskID="S001">


  <TaskLabor actualWork="0" estPattern="3" finish="2015-01-15T17:00:00" remainingWork="68.0536" resourceID="analyst"

              roleID="analyst" start="2015-01-15T08:00:00" teamId="ipc" unpostedActuals="0">


  <Segment finish="2015-01-15T17:00:00" start="2015-01-15T08:00:00" sum="68.0536"/>











Xog Status is success, however, the role is not added to task. When we tried along with the Resource tag (given below), the role was added to the task.



  <Resource projectRoleID="analyst" resourceID="analyst" teamId="analyst"/>



Is there a way to add roles to task without using the Resource tag?