AnsweredAssumed Answered

How to XOG new task (copied from another project)

Question asked by Rnitram on May 28, 2014
Latest reply on Jun 2, 2014 by gcubed

Hello, I want to XOG new tasks into an existing project. The process runs, but does not create any new tasks: 

 

<soap:invoke  endpoint="${p_XOGURL}" var="task_create">
  <soap:message>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xog="http://www.niku.com/xog">
   <soapenv:Header>
    <xog:Auth> <xog:SessionID>${sessionID}</xog:SessionID> </xog:Auth>
   </soapenv:Header>
   <soapenv:Body>
    <gel:parse var="xogbody">
     <NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_project.xsd">
      <Header version="6.0.11" action="write" objectType="project" externalSource="NIKU"/>
       <Projects>
       <Project projectID="${v_prj_code_new}" name="${v_prj_name_new}">
       <Tasks>${v_tasks_all}
       </Tasks>
       </Project>
      </Projects>
     </NikuDataBus>
    </gel:parse>
   </soapenv:Body>
   </soapenv:Envelope>
  </soap:message>
</soap:invoke>

The variable ${v_tasks_all} holds:

<Task lastUpdatedBy="5014001" name="Deliverable - Stakeholder matrix" milestone="true" start="Sep 2 2014 5:00PM" openForTimeEntry="true" lockedForScheduling="false" fixed="false" status="0" lastUpdatedDate="Mar 21 2014 12:58PM" orderID="1" evCalcMethod="0" summary="true" outlineLevel="1" finish="Sep 2 2014 5:00PM" key="false" percComp="0"><CustomInformation><ColumnValue name="a1_del_matrix_ver">0</ColumnValue><ColumnValue name="a1_del_required">Yes</ColumnValue><ColumnValue name="a1_deliverable_appr">NEW</ColumnValue><ColumnValue name="a1_is_deliverable">true</ColumnValue></CustomInformation></Task><Task lastUpdatedBy="5014001" name="Deliverable - Task Plan" milestone="true" start="Sep 8 2014 8:00AM" openForTimeEntry="true" lockedForScheduling="false" fixed="false" status="0" lastUpdatedDate="Mar 17 2014 11:37PM" orderID="1" evCalcMethod="0" summary="true" outlineLevel="1" finish="Sep 8 2014 8:00AM" key="false" percComp="0"><CustomInformation><ColumnValue name="a1_del_matrix_ver">0</ColumnValue><ColumnValue name="a1_del_required">Yes</ColumnValue><ColumnValue name="a1_deliverable_appr">NEW</ColumnValue><ColumnValue name="a1_is_deliverable">true</ColumnValue></CustomInformation></Task><Task lastUpdatedBy="-99" name="Deliverable - Business Requirements Document (BRD)" milestone="true" start="Sep 5 2014 8:00AM" openForTimeEntry="true" lockedForScheduling="false" fixed="false" status="0" lastUpdatedDate="Mar 20 2014 12:30AM" orderID="1" evCalcMethod="0" summary="true" outlineLevel="1" finish="Sep 5 2014 8:00AM" key="false" percComp="0"><CustomInformation><ColumnValue name="a1_del_matrix_ver">0</ColumnValue><ColumnValue name="a1_del_required">Yes</ColumnValue><ColumnValue name="a1_deliverable_appr">NEW</ColumnValue><ColumnValue name="a1_is_deliverable">true</ColumnValue></CustomInformation></Task><Task lastUpdatedBy="5014001" name="Deliverable - RTB cost agreement" milestone="true" start="Sep 8 2014 8:00AM" openForTimeEntry="true" lockedForScheduling="false" fixed="false" status="0" lastUpdatedDate="Mar 21 2014 9:43AM" orderID="1" evCalcMethod="0" summary="true" outlineLevel="1" finish="Sep 8 2014 8:00AM" key="false" percComp="0"><CustomInformation><ColumnValue name="a1_del_matrix_ver">0</ColumnValue><ColumnValue name="a1_del_required">Yes</ColumnValue><ColumnValue name="a1_deliverable_appr">NEW</ColumnValue><ColumnValue name="a1_is_deliverable">true</ColumnValue></CustomInformation></Task><Task lastUpdatedBy="5014001" name="Deliverable - Cost & Benefit Plan (incl. Pricing Sheet)" milestone="true" start="Sep 12 2014 8:00AM" openForTimeEntry="true" lockedForScheduling="false" fixed="false" status="0" lastUpdatedDate="Mar 13 2014 11:53AM" orderID="1" evCalcMethod="0" summary="true" outlineLevel="1" finish="Sep 12 2014 8:00AM" key="false" percComp="0"><CustomInformation><ColumnValue name="a1_del_matrix_ver">0</ColumnValue><ColumnValue name="a1_del_required">Yes</ColumnValue><ColumnValue name="a1_deliverable_appr">NEW</ColumnValue><ColumnValue name="a1_is_deliverable">true</ColumnValue></CustomInformation></Task><Task lastUpdatedBy="5014001" name="Deliverable - FSD" milestone="true" start="Oct 6 2014 8:00AM" openForTimeEntry="true" lockedForScheduling="false" fixed="false" status="0" lastUpdatedDate="Mar 13 2014 11:53AM" orderID="1" evCalcMethod="0" summary="true" outlineLevel="1" finish="Oct 6 2014 8:00AM" key="false" percComp="0"><CustomInformation><ColumnValue name="a1_del_matrix_ver">0</ColumnValue><ColumnValue name="a1_del_required">Yes</ColumnValue><ColumnValue name="a1_deliverable_appr">NEW</ColumnValue><ColumnValue name="a1_is_deliverable">true</ColumnValue></CustomInformation></Task><Task lastUpdatedBy="5014001" name="Deliverable - Authorisation conc...

This above is a copy of the process log. However, the tasks are not created. Any ideas on this would be appreciated.

Outcomes