Hi, I am trying to create a process on Requirement object. Whenever they associate the user story to epic , the hierarchy should get updated. I did the first part of adding the user story to the corresponding epic hierarchy. But similarly when I associate the user story to some other epic the hierarchy should get udpated . For investments and Skill associations we have tag isComplete="true" which actually takes care of removing the hierarchy. I tried with the same tag. But it is throwing an error.
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_requirement.xsd">
<Header action="write" externalSource="NIKU" objectType="requirement" version="126.96.36.199"/>
<link child="00000172" parent="00000080" isComplete="true"/>
<XOGOutput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespace
<Status elapsedTime="0.0 seconds" state="FAILURE"/>
<Statistics failureRecords="0" insertedRecords="0" totalNumberOfRecords="0" up
<Description>[Error] :0:0: unexpected attribute "isComplete"
Invalid attribute in input document. Please remove all instances of attr
ibute from document elements and try again.
[Element : link, Attribute : isComplete ].
<Exception type="java.lang.Exception">Invalid xml data</Exception>
The complete attribute can only be used in some sections. It is defined in common.xsd located in the xsd folder of your xog client install. It can only be used in sections where it is defined. And the link section is not one of them.
In general, if you look at the top of the .xml file you created, it will tell you the name of the top level .xsd file that defines your xog. If you look at the top of that .xsd file, you will see the names of any .xsd files that are included that further define what can be done in your xog file.
These .xsd files define what is and is not allowed in you read or write xml file.
I hope you find this information useful.
Jeanne GaskillSenior Support Engineer