AnsweredAssumed Answered

Update Task information with blank task id(PREXTERNALID)

Question asked by BikashSingh on Jun 25, 2015
Latest reply on Jun 26, 2015 by fpena

Is there a way to update assignment information on a task via XOG using the internal ID of a task if the prexternal ID is blank.

 

 

We have a number of tasks in our system that have blank prexternalid (i.e Task ID attribute on Clarity). We want to use XOG to update the assignment information. As the taskID ( prexternalid) is blank for these task,We are not able to update the assignment information on any of these tasks using the internal taskID. Is there a way to update the assignment information via XOG using the internal task ID alone.

 

A cut down sample XML is below. This XML is to update a project task having an internal task id of 5023049. Please note that the external task ID is blank on this task.

 

<?xml version="1.0" encoding="UTF-8"?>

<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_project.xsd">

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

  <Projects>

    <Project name="Test project" projectID="EU240933">

      <Tasks>

        <Task internalTaskID="5023049" name="Task" outlineLevel="1">

        </Task>

      </Tasks>

    </Project>

  </Projects>

</NikuDataBus>

 

Every time we XOG in the XML to update the task ( or assignment information) it creates a duplicate task on the project.

Outcomes