AnsweredAssumed Answered

Resource Read XOG by Employment Type

Question asked by vs00500773 on May 27, 2018
Latest reply on May 29, 2018 by urmas

CA-PPM 14.2

 

As per XOG documentation, I can use Employment Type (Employee or Contractor) in the Resource Read XML file

 

Resource xog attribute--employmentType

employmentType

Optional. Defines the employment type.

Values: employee and contractor

Default: employee

Table and Column: SRM_RESOURCES.Person_Type

Type: String

 

<Filter name="employmentType" criteria="EQUALS">EMPLOYEE</Filter> 

 

I get the below error

 

<?xml version="1.0" encoding="UTF-16"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header/>
<soapenv:Body>
<XOGOutput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/status.xsd">
<Object type="resource"/>
<Status elapsedTime="0.0 seconds" state="FAILURE"/>
<Statistics failureRecords="0" insertedRecords="0" totalNumberOfRecords="0" updatedRecords="0"/>
<ErrorInformation>
<Severity>FATAL</Severity>
<Description>[Error] :0:0: attribute "name" has a bad value: the value is not a member of the enumeration.
Invalid attribute in input document. Please remove all instances of attribute from document elements and try again.
[Element : Filter, Attribute : name ].
</Description>
<Exception type="java.lang.Exception">Invalid xml data</Exception>
</ErrorInformation>
</XOGOutput>
</soapenv:Body>
</soapenv:Envelope>

 

Any help is greatly appreciated

 

Thanks

-Venkitta

Outcomes