Issue Xogging Custom Investment Instance
search cancel

Issue Xogging Custom Investment Instance


Article ID: 142926


Updated On:


Clarity PPM On Premise Clarity PPM SaaS


I get the following error when trying to XOG out an instance of a custom investment:

SQL Exception with error code : 936 message: [CA Clarity][Oracle JDBC Driver][Oracle]ORA-00936: missing expression

XML code used to XOG out the instance:

<?xml version="1.0" encoding="UTF-8"?>
<NikuDataBus xmlns:xsi="" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_read.xsd">
    <Header version="8.0" action="read" objectType="customObjectInstance" externalSource="NIKU"/>
        <Filter name="objectCode" criteria="EQUALS">goc_init</Filter>
        <Filter name="instanceCode" criteria="OR">INIT-000001</Filter>


Another error you may see when trying to XOG includes the following:

<Description>Custom Object Instance Export Failed</Description>

In 16.0.1 XOG will run without error but it will not return instance info, so you may see something like below:

<NikuDataBus xmlns:xsi="" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_customObjectInstance.xsd">
 <Header action="write" externalSource="NIKU" objectType="customObjectInstance" version=""/>
 <customObjectInstances objectCode="ks_cust_inv">
  <instance objectCode="ks_cust_inv">
    <ColumnValue name="odf_object_code">ks_cust_inv</ColumnValue>
    <ColumnValue name="odf_period_end"/>
    <ColumnValue name="odf_period_start"/>
    <ColumnValue name="obj_work_status">REQUESTED</ColumnValue>
    <ColumnValue name="partition_code">NIKU.ROOT</ColumnValue>
   <OBSAssocs complete="false"/>
    <UserSecurity rightCode="odf_cst_ks_cust_inv_edit" userName="admin"/>

The XOG output file might also include the following FATAL error:

XOG: Insufficient rights to perform XOG read of custom object instance

CDATA[XOG: The instances of custom extended objects are not enabled for XOG]


Release : 15.7.1, 15.8, 16.0.1



  • Current design does not allow to XOG out or in custom investment instances, you'll have to use the REST API.
  • Note: You will still see XOG Access right, the thought behind was to leave it untouched because we still wanted to allow for configuration of the custom investment object to be able to XOG in and out and it was risky to split them apart so that is why it is still there.

Additional Information

See Using Clarity REST APIs

The custom investment API can be found in URL <hostname>/niku/rest/describe/index.html#/Other32Resources