Clarity PPM1

Expand all | Collapse all

How to create subtask via XOG

Jump to Best Answer
  • 1.  How to create subtask via XOG

    Posted 06-18-2018 08:38 AM

    Hi,

     

    We are trying to create a subtask via XOG with the next XML:

     

    <Projects>
    <Project name="Prueba requisito-tarea" projectID="PRJ00000976">
    <Tasks>
    <Task name="tarea xog prueba" orderID="8" outlineLevel="3" parent="TA00001816" firstChildOf="TA00001816" taskID="TA00001816-1" summary="false" fixed="false">
    <CustomInformation>
    <ColumnValue name="partition_code">NIKU.ROOT</ColumnValue>
    </CustomInformation>
    </Task>
    </Tasks>
    </Project>
    </Projects>

     

     

    Task has been created successfully but has not been associated with the parent task and the parent task has not been marked as "has subtask". The new task hasn't appear in the Gantt chart.

     

    Does someone know how to create the task correctly?

     

    Thank you very much in advance.



  • 2.  Re: How to create subtask via XOG
    Best Answer

    Posted 06-18-2018 08:54 AM

    Is task "TA00001816" a summary task?

    (If it is not a summary task then you can not add a subtask to it)



  • 3.  Re: How to create subtask via XOG

    Posted 06-18-2018 11:06 AM

    You're right, first task wasn't "summary".

     

    The XOG that I have used is the next one:

     

    <Project name="Prueba requisito-tarea" projectID="PRJ00000976">
    <Tasks>
    <Task name="prueba hija 2" outlineLevel="2" parent="TA00001807" summary="true" taskID="TA00001816"></Task>
    <Task name="tarea xog prueba" orderID="8" outlineLevel="3" parent="TA00001816" firstChildOf="TA00001816" taskID="TA00001816-1" summary="false" fixed="false">
    <CustomInformation>
    <ColumnValue name="partition_code">NIKU.ROOT</ColumnValue>
    </CustomInformation>
    </Task>
    </Tasks>
    </Project>

     

    And now everything looks good.

     

    Thank you very much.