XOG "Missing or invalid value for Grouping Attribute" error

book

Article ID: 206119

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

I am unable to XOG a cost plan with a detail row that points to an specific department.
The error I get is: Missing or invalid value for Grouping Attribute
I am able to XOG read an existing Clarity cost plan, but unable to XOG write even when using the output of the XOG read action.

Cause

Access rights were missing to the user used for XOG activities

Resolution

Please ensure:
1. The department ID specified is correct. XOG is case sensitive.
2. Ensure the user used for XOG activities contains the following rights:
    Department - XOG Access
    Department - Edit Access Rights - All
    Department - Navigate
    Department - Edit - All

Additional Information

XOG write example:

    <NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_costPlan.xsd">
      <Header action="write" externalSource="NIKU" objectType="costPlan" version="15.8.0.260"/>
      <CostPlans>
        <CostPlan benefitPlanCode="" code="MyCostPlan" finishPeriod="2021" investmentCode="CostPlanXOG" investmentType="project" isPlanOfRecord="false"
          name="MyCostPlan" periodType="MONTHLY" revision="3" startPeriod="2021">
          <Description/>
          <GroupingAttributes>
            <GroupingAttribute>department_id</GroupingAttribute>
          </GroupingAttributes>
          <Details>
            <Detail>
              <Cost/>
              <Units/>
              <Revenue/>
              <GroupingAttributes>
                <GroupingAttribute code="department_id" value="MyDepartment"/>
              </GroupingAttributes>
              <CustomInformation>
                <ColumnValue name="partition_code">NIKU.ROOT</ColumnValue>
              </CustomInformation>
            </Detail>
          </Details>
          <CustomInformation>
            <ColumnValue name="partition_code">NIKU.ROOT</ColumnValue>
          </CustomInformation>
        </CostPlan>
      </CostPlans>
    </NikuDataBus>

 

XOG error:

<ErrorInformation>
  <Severity>ERROR</Severity>
  <Description>Missing or invalid value for Grouping Attribute.</Description>
</ErrorInformation